mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
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/Running "nvm alias" should list all aliases.
Executable file → Normal file
0
test/fast/Aliases/Running "nvm alias" should list all aliases.
Executable file → Normal file
0
test/fast/Aliases/circular/nvm_resolve_alias
Executable file → Normal file
0
test/fast/Aliases/circular/nvm_resolve_alias
Executable file → Normal file
0
test/fast/Aliases/circular/nvm_resolve_local_alias
Executable file → Normal file
0
test/fast/Aliases/circular/nvm_resolve_local_alias
Executable file → Normal file
0
test/fast/Aliases/circular/setup
Executable file → Normal file
0
test/fast/Aliases/circular/setup
Executable file → Normal file
0
test/fast/Aliases/circular/teardown
Executable file → Normal file
0
test/fast/Aliases/circular/teardown
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/Aliases/lts/setup_dir
Executable file → Normal file
0
test/fast/Aliases/lts/setup_dir
Executable file → Normal file
0
test/fast/Aliases/lts/teardown_dir
Executable file → Normal file
0
test/fast/Aliases/lts/teardown_dir
Executable file → Normal file
0
test/fast/Aliases/nvm_ensure_default_set
Executable file → Normal file
0
test/fast/Aliases/nvm_ensure_default_set
Executable file → Normal file
0
test/fast/Aliases/nvm_resolve_alias
Executable file → Normal file
0
test/fast/Aliases/nvm_resolve_alias
Executable file → Normal file
0
test/fast/Aliases/nvm_resolve_local_alias
Executable file → Normal file
0
test/fast/Aliases/nvm_resolve_local_alias
Executable file → Normal file
0
test/fast/Aliases/setup
Executable file → Normal file
0
test/fast/Aliases/setup
Executable file → Normal file
0
test/fast/Aliases/teardown
Executable file → Normal file
0
test/fast/Aliases/teardown
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 paths/teardown
Executable file → Normal file
0
test/fast/Listing paths/teardown
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 io" should return NA
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls io" should return NA
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" calls into nvm_alias
Executable file → Normal file
0
test/fast/Listing versions/Running "nvm ls" calls into nvm_alias
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
test/fast/Listing versions/Using a nonstandard IFS should not break
Executable file → Normal file
0
test/fast/Listing versions/Using a nonstandard IFS should not break
Executable file → Normal file
0
test/fast/Listing versions/teardown
Executable file → Normal file
0
test/fast/Listing versions/teardown
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 unalias" should remove the alias file.
Executable file → Normal file
0
test/fast/Running "nvm unalias" should remove the alias file.
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 foo" where "foo" is circular aborts
Executable file → Normal file
0
test/fast/Running "nvm use foo" where "foo" is circular aborts
Executable file → Normal file
0
test/fast/Running "nvm use iojs" uses latest io.js version
Executable file → Normal file
0
test/fast/Running "nvm use iojs" uses latest io.js version
Executable file → Normal file
0
test/fast/Running "nvm use system" should work as expected
Executable file → Normal file
0
test/fast/Running "nvm use system" should work as expected
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
0
test/fast/Running "nvm use" should drop CR char automatically.
Executable file → Normal file
0
test/fast/Running "nvm use" should drop CR char automatically.
Executable file → Normal file
0
test/fast/Sourcing nvm.sh should make the nvm command available.
Executable file → Normal file
0
test/fast/Sourcing nvm.sh should make the nvm command available.
Executable file → Normal file
0
test/fast/Sourcing nvm.sh should not modify parameters of caller
Executable file → Normal file
0
test/fast/Sourcing nvm.sh should not modify parameters of caller
Executable file → Normal file
0
test/fast/Unit tests/iojs_version_has_solaris_binary
Executable file → Normal file
0
test/fast/Unit tests/iojs_version_has_solaris_binary
Executable file → Normal file
0
test/fast/Unit tests/node_version_has_solaris_binary
Executable file → Normal file
0
test/fast/Unit tests/node_version_has_solaris_binary
Executable file → Normal file
0
test/fast/Unit tests/nvm ls-remote
Executable file → Normal file
0
test/fast/Unit tests/nvm ls-remote
Executable file → Normal file
0
test/fast/Unit tests/nvm version-remote
Executable file → Normal file
0
test/fast/Unit tests/nvm version-remote
Executable file → Normal file
0
test/fast/Unit tests/nvm_add_iojs_prefix
Executable file → Normal file
0
test/fast/Unit tests/nvm_add_iojs_prefix
Executable file → Normal file
0
test/fast/Unit tests/nvm_alias
Executable file → Normal file
0
test/fast/Unit tests/nvm_alias
Executable file → Normal file
0
test/fast/Unit tests/nvm_alias_path
Executable file → Normal file
0
test/fast/Unit tests/nvm_alias_path
Executable file → Normal file
0
test/fast/Unit tests/nvm_change_path
Executable file → Normal file
0
test/fast/Unit tests/nvm_change_path
Executable file → Normal file
0
test/fast/Unit tests/nvm_checksum
Executable file → Normal file
0
test/fast/Unit tests/nvm_checksum
Executable file → Normal file
0
test/fast/Unit tests/nvm_clang_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_clang_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_command_info
Executable file → Normal file
0
test/fast/Unit tests/nvm_command_info
Executable file → Normal file
0
test/fast/Unit tests/nvm_compare_checksum
Executable file → Normal file
0
test/fast/Unit tests/nvm_compare_checksum
Executable file → Normal file
0
test/fast/Unit tests/nvm_compute_checksum
Executable file → Normal file
0
test/fast/Unit tests/nvm_compute_checksum
Executable file → Normal file
0
test/fast/Unit tests/nvm_curl_libz_support
Executable file → Normal file
0
test/fast/Unit tests/nvm_curl_libz_support
Executable file → Normal file
0
test/fast/Unit tests/nvm_curl_use_compression
Executable file → Normal file
0
test/fast/Unit tests/nvm_curl_use_compression
Executable file → Normal file
0
test/fast/Unit tests/nvm_curl_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_curl_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_die_on_prefix
Executable file → Normal file
0
test/fast/Unit tests/nvm_die_on_prefix
Executable file → Normal file
0
test/fast/Unit tests/nvm_ensure_default_set
Executable file → Normal file
0
test/fast/Unit tests/nvm_ensure_default_set
Executable file → Normal file
0
test/fast/Unit tests/nvm_ensure_version_installed
Executable file → Normal file
0
test/fast/Unit tests/nvm_ensure_version_installed
Executable file → Normal file
0
test/fast/Unit tests/nvm_ensure_version_prefix
Executable file → Normal file
0
test/fast/Unit tests/nvm_ensure_version_prefix
Executable file → Normal file
0
test/fast/Unit tests/nvm_find_up
Executable file → Normal file
0
test/fast/Unit tests/nvm_find_up
Executable file → Normal file
0
test/fast/Unit tests/nvm_format_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_format_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_arch
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_arch
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_checksum
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_checksum
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_checksum_alg
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_checksum_alg
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_default_packages
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_default_packages
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_latest missing curl or wget
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_latest missing curl or wget
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_minor_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_minor_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_mirror
Executable file → Normal file
0
test/fast/Unit tests/nvm_get_mirror
Executable file → Normal file
0
test/fast/Unit tests/nvm_has
Executable file → Normal file
0
test/fast/Unit tests/nvm_has
Executable file → Normal file
0
test/fast/Unit tests/nvm_has_non_aliased
Executable file → Normal file
0
test/fast/Unit tests/nvm_has_non_aliased
Executable file → Normal file
0
test/fast/Unit tests/nvm_has_solaris_binary
Executable file → Normal file
0
test/fast/Unit tests/nvm_has_solaris_binary
Executable file → Normal file
0
test/fast/Unit tests/nvm_has_system_iojs
Executable file → Normal file
0
test/fast/Unit tests/nvm_has_system_iojs
Executable file → Normal file
0
test/fast/Unit tests/nvm_has_system_node
Executable file → Normal file
0
test/fast/Unit tests/nvm_has_system_node
Executable file → Normal file
0
test/fast/Unit tests/nvm_install_latest_npm
Executable file → Normal file
0
test/fast/Unit tests/nvm_install_latest_npm
Executable file → Normal file
0
test/fast/Unit tests/nvm_iojs_prefix
Executable file → Normal file
0
test/fast/Unit tests/nvm_iojs_prefix
Executable file → Normal file
0
test/fast/Unit tests/nvm_is_alias
Executable file → Normal file
0
test/fast/Unit tests/nvm_is_alias
Executable file → Normal file
0
test/fast/Unit tests/nvm_is_iojs_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_is_iojs_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_is_merged_node_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_is_merged_node_version
Executable file → Normal file
0
test/fast/Unit tests/nvm_is_natural_num
Executable file → Normal file
0
test/fast/Unit tests/nvm_is_natural_num
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
Block a user