mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-11 17:19:05 +00:00
Add test nvm_install_with_node_version under test/install_script
This commit is contained in:
8
test/install_script/nvm_install_with_node_version
Executable file
8
test/install_script/nvm_install_with_node_version
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
die () { echo "$@" ; exit 1; }
|
||||
|
||||
NODE_VERSION=8 \. ../../install.sh
|
||||
|
||||
# nvm installed node 8
|
||||
(nvm ls | grep 8) > /dev/null 2>&1 || die "nvm didn't install node 8"
|
Reference in New Issue
Block a user