mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-30 09:18:59 +08:00
tests from readme
fast tests alias unalias more alias tests tests document testing warn not to run while testing chmod +x deactivate specify the version (commit) of urchin installation test run tests for ls switch unsetopt to the thing creationix has rename tests urchin log adjust urchin version
This commit is contained in:
14
test/slow/install
Executable file
14
test/slow/install
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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 ]
|
||||
nvm run v0.6.14 --version | grep v0.6.14
|
||||
Reference in New Issue
Block a user