udpdate
This commit is contained in:
parent
4baa02dd53
commit
ac4bbab5cb
0
test/fast/Aliases/"nvm alias" should not accept aliases with slashes
Executable file → Normal file
0
test/fast/Aliases/"nvm alias" should not accept aliases with slashes
Executable file → Normal file
0
test/fast/Aliases/"nvm unalias" should accept aliases when they shadow a built-in alias
Executable file → Normal file
0
test/fast/Aliases/"nvm unalias" should accept aliases when they shadow a built-in alias
Executable file → Normal file
0
test/fast/Aliases/"nvm unalias" should not accept aliases with names equal to built-in alias
Executable file → Normal file
0
test/fast/Aliases/"nvm unalias" should not accept aliases with names equal to built-in alias
Executable file → Normal file
0
test/fast/Aliases/"nvm unalias" should not accept aliases with slashes
Executable file → Normal file
0
test/fast/Aliases/"nvm unalias" should not accept aliases with slashes
Executable file → Normal file
0
test/fast/Aliases/Running "nvm alias <aliasname> <target>" again should change the target
Executable file → Normal file
0
test/fast/Aliases/Running "nvm alias <aliasname> <target>" again should change the target
Executable file → Normal file
0
test/fast/Aliases/Running "nvm alias <aliasname>" should list but one alias.
Executable file → Normal file
0
test/fast/Aliases/Running "nvm alias <aliasname>" should list but one alias.
Executable file → Normal file
0
test/fast/Aliases/Running "nvm alias" lists implicit aliases when they do not exist
Executable file → Normal file
0
test/fast/Aliases/Running "nvm alias" lists implicit aliases when they do not exist
Executable file → Normal file
0
test/fast/Aliases/Running "nvm alias" lists manual aliases instead of implicit aliases when present
Executable file → Normal file
0
test/fast/Aliases/Running "nvm alias" lists manual aliases instead of implicit aliases when present
Executable file → Normal file
0
test/fast/Aliases/lts/"nvm alias" should ensure LTS alias dir exists
Executable file → Normal file
0
test/fast/Aliases/lts/"nvm alias" should ensure LTS alias dir exists
Executable file → Normal file
0
test/fast/Listing paths/Running "nvm which 0.0.2" should display only version 0.0.2.
Executable file → Normal file
0
test/fast/Listing paths/Running "nvm which 0.0.2" should display only version 0.0.2.
Executable file → Normal file
0
test/fast/Listing paths/Running "nvm which foo" should return a nonzero exit code when not found
Executable file → Normal file
0
test/fast/Listing paths/Running "nvm which foo" should return a nonzero exit code when not found
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls --no-alias" does not call into nvm_alias
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls --no-alias" does not call into nvm_alias
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls --no-alias" with a pattern errors
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls --no-alias" with a pattern errors
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls 0.0.2" should display only version 0.0.2.
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls 0.0.2" should display only version 0.0.2.
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls 0.2" should display only 0.2.x versions.
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls 0.2" should display only 0.2.x versions.
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls foo" should return a nonzero exit code when not found
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls foo" should return a nonzero exit code when not found
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls node_" should return a nonzero exit code when not found
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls node_" should return a nonzero exit code when not found
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls stable" and "nvm ls unstable" should return the appropriate implicit alias
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls stable" and "nvm ls unstable" should return the appropriate implicit alias
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls system" should include "system" when appropriate
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls system" should include "system" when appropriate
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" should display all installed versions.
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" should display all installed versions.
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" should filter out ".nvm"
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" should filter out ".nvm"
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" should filter out "versions"
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" should filter out "versions"
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" should include "system" when appropriate
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" should include "system" when appropriate
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" should list versions in the "versions" directory
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" should list versions in the "versions" directory
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" with node-like versioning vx.x.x should only list a matched version
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" with node-like versioning vx.x.x should only list a matched version
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" with nounset should not fail.
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" with nounset should not fail.
Executable file → Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
\. ../../nvm.sh
|
||||
|
||||
nvm alias test v0.1.2
|
||||
|
||||
[ "$(cat "$(nvm_alias_path)/test")" = "v0.1.2" ]
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
die () { echo "$@" ; exit 1; }
|
||||
|
||||
\. ../../nvm.sh
|
||||
|
||||
nvm deactivate 2>&1
|
||||
|
||||
[ "$(nvm current)" = "system" ] || [ "$(nvm current)" = "none" ] || die '"nvm current" did not report "system" or "none" when deactivated'
|
||||
0
test/fast/Running "nvm deactivate" should unset the nvm environment variables.
Executable file → Normal file
0
test/fast/Running "nvm deactivate" should unset the nvm environment variables.
Executable file → Normal file
0
test/fast/Running "nvm install" with "--reinstall-packages-from" requires a valid version
Executable file → Normal file
0
test/fast/Running "nvm install" with "--reinstall-packages-from" requires a valid version
Executable file → Normal file
0
test/fast/Running "nvm install" with an invalid version fails nicely
Executable file → Normal file
0
test/fast/Running "nvm install" with an invalid version fails nicely
Executable file → Normal file
0
test/fast/Running "nvm uninstall" should remove the appropriate directory.
Executable file → Normal file
0
test/fast/Running "nvm uninstall" should remove the appropriate directory.
Executable file → Normal file
0
test/fast/Running "nvm uninstall" with incorrect file permissions fails nicely
Executable file → Normal file
0
test/fast/Running "nvm uninstall" with incorrect file permissions fails nicely
Executable file → Normal file
0
test/fast/Running "nvm unload" should unset all function and variables.
Executable file → Normal file
0
test/fast/Running "nvm unload" should unset all function and variables.
Executable file → Normal file
0
test/fast/Running "nvm use x" should create and change the "current" symlink
Executable file → Normal file
0
test/fast/Running "nvm use x" should create and change the "current" symlink
Executable file → Normal file
0
test/fast/Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false
Executable file → Normal file
0
test/fast/Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false
Executable file → Normal file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue