From b15ea070679697ce7013e68ddc051d9f96e0f847 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sat, 19 Apr 2014 16:31:48 -0700 Subject: [PATCH] Don't clobber the latest version of 0.10 for tests. --- test/slow/install from binary | 2 +- test/slow/install from source | 2 +- .../install two versions and use the latest one | 17 +++++++++-------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/test/slow/install from binary b/test/slow/install from binary index a1d35bc..c24d98e 100755 --- a/test/slow/install from binary +++ b/test/slow/install from binary @@ -3,7 +3,7 @@ set -e . ../../nvm.sh -VERSION=v0.10.26 +VERSION=v0.10.7 # Remove the stuff we're clobbering. [ -e ../../$VERSION ] && rm -R ../../$VERSION diff --git a/test/slow/install from source b/test/slow/install from source index d03724c..b8b2abf 100755 --- a/test/slow/install from source +++ b/test/slow/install from source @@ -3,7 +3,7 @@ set -e . ../../nvm.sh -VERSION=v0.10.26 +VERSION=v0.10.7 # Remove the stuff we're clobbering. [ -e ../../$VERSION ] && rm -R ../../$VERSION diff --git a/test/slow/install two versions and use the latest one b/test/slow/install two versions and use the latest one index 6bf23ce..5b1f7e4 100755 --- a/test/slow/install two versions and use the latest one +++ b/test/slow/install two versions and use the latest one @@ -4,20 +4,21 @@ set -e . ../../nvm.sh # Remove the stuff we're clobbering. -[ -e ../../v0.10.25 ] && rm -R ../../v0.10.25 -[ -e ../../v0.10.26 ] && rm -R ../../v0.10.26 +[ -e ../../v0.10.7 ] && rm -R ../../v0.10.7 +[ -e ../../v0.10.8 ] && rm -R ../../v0.10.8 # Install from binary -nvm install 0.10.25 -nvm install 0.10.26 +nvm install 0.10.7 +nvm install 0.10.8 # Check -[ -d ../../v0.10.25 ] -[ -d ../../v0.10.26 ] +[ -d ../../v0.10.7 ] +[ -d ../../v0.10.8 ] # Use the first one -nvm use 0.10.25 +nvm use 0.10.7 # Use the latest one nvm use 0.10 -node --version | grep v0.10.26 +node --version | grep v0.10.8 +