mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-12-14 17:42:01 +00:00
tests from readme
This commit is contained in:
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 ]
|
||||||
Reference in New Issue
Block a user