mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 22:51:51 +00:00
tests from readme
This commit is contained in:
parent
903479aeca
commit
2eeea14805
4
test/fast/source
Executable file
4
test/fast/source
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. ../nvm.sh
|
||||||
|
nvm
|
13
test/slow/install
Executable file
13
test/slow/install
Executable 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 ]
|
Loading…
Reference in New Issue
Block a user