Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added test for installation with -s option.

  • Loading branch information...
commit 278fd031b059057c329ed647b7219bec42927396 1 parent 7013372
@kt3k kt3k authored
Showing with 28 additions and 0 deletions.
  1. +14 −0 test/slow/install from binary
  2. +14 −0 test/slow/install from source
View
14 test/slow/install from binary
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+. ../../nvm.sh
+
+# Remove the stuff we're clobbering.
+[ -e ../../v0.8.6 ] && rm -R ../../v0.8.6
+
+# Install from binary
+nvm install 0.8.6
+
+# Check
+[ -d ../../v0.8.6 ]
+nvm run v0.8.6 --version | grep v0.8.6
View
14 test/slow/install from source
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+. ../../nvm.sh
+
+# Remove the stuff we're clobbering.
+[ -e ../../v0.8.6 ] && rm -R ../../v0.8.6
+
+# Install from source
+nvm install -s 0.8.6
+
+# Check
+[ -d ../../v0.8.6 ]
+nvm run v0.8.6 --version | grep v0.8.6
Please sign in to comment.
Something went wrong with that request. Please try again.