tests from readme

This commit is contained in:
Thomas Levine 2012-10-10 19:17:09 -04:00
parent 903479aeca
commit 2eeea14805
2 changed files with 17 additions and 0 deletions

4
test/fast/source Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
. ../nvm.sh
nvm

13
test/slow/install Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
set -e
. ../../nvm.sh
# Remove the stuff we're clobbering.
[ -e ../v0.6.14 ] && rm -R ../v0.6.14
# Install
nvm install 0.6.14
# Check
[ -d ../v0.6.14 ]