nvm-sh-nvm/test/fast
Jordan Harband 33fda56d2a
[Fix] nvm uninstall: fix alias cleanup glob expansion
The `*` glob was inside double quotes, preventing shell expansion. `nvm_grep -l` received a literal `*` filename instead of the list of alias files, so aliases pointing to uninstalled versions were never cleaned up.

Bug introduced in 7807a9f09e.
2026-03-14 14:34:06 -07:00
..
Aliases [Fix] nvm_resolve_local_alias: avoid using variable as printf format string 2026-03-14 10:16:25 -07:00
Listing paths [patch] show system Node.js version in nvm ls 2026-01-25 18:19:50 +08:00
Listing versions [patch] show system Node.js version in nvm ls 2026-01-25 18:19:50 +08:00
Set Colors [Fix] nvm_has_colors: also check if stdout is a terminal 2026-01-27 10:31:07 -08:00
Unit tests [Fix] nvm_iojs_version_has_solaris_binary: fix comparison to detect non-iojs versions 2026-03-14 14:30:54 -07:00
nvm should remove the last trailing slash in $NVM_DIR [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm alias' should create a file in the alias directory [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm current' should display current nvm environment [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm deactivate' should unset the nvm environment variables [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm install' with '--reinstall-packages-from' requires a valid version [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm install' with an invalid version fails nicely [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm unalias' should remove the alias file [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm uninstall' should clean up aliases pointing to uninstalled version [Fix] nvm uninstall: fix alias cleanup glob expansion 2026-03-14 14:34:06 -07:00
Running 'nvm uninstall' should remove the appropriate directory [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm uninstall' with an inferred version shows the inferred message Improve uninstall error message for missing versions 2026-01-30 00:04:01 +08:00
Running 'nvm uninstall' with an uninstalled version shows the requested version Improve uninstall error message for missing versions 2026-01-30 00:04:01 +08:00
Running 'nvm uninstall' with incorrect file permissions fails nicely [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm unload' should unset all function and variables [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm use foo' where 'foo' is circular aborts [Tests] add try/try_err helpers; convert tests to use them 2026-03-13 15:26:07 -04:00
Running 'nvm use iojs' uses latest io.js version [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm use system' should work as expected [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm use x' should create and change the 'current' symlink [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm use x' should not create the 'current' symlink if $NVM_SYMLINK_CURRENT is false [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Running 'nvm use' should drop CR char automatically [Refactor] nvm_rc_version: use fd 3 instead of exported env var for multiple return 2026-03-12 15:32:17 -04:00
Running 'nvm use' should respect alias pointing to system [patch] show system Node.js version in nvm ls 2026-01-25 18:19:50 +08:00
Running 'nvm use' should respect system in .nvmrc [patch] show system Node.js version in nvm ls 2026-01-25 18:19:50 +08:00
Running 'nvm-exec' should display required node version Improve uninstall error message for missing versions 2026-01-30 00:04:01 +08:00
setup [Tests] use -ex option during tests when possible 2016-07-10 19:58:32 -07:00
setup_dir [Tests] use -ex option during tests when possible 2016-07-10 19:58:32 -07:00
Sourcing nvm.sh should make the nvm command available [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
Sourcing nvm.sh should not modify parameters of caller [Tests] set $_ before sourcing nvm.sh in fast tests 2026-01-26 21:41:57 -08:00
teardown [Tests] use -ex option during tests when possible 2016-07-10 19:58:32 -07:00
teardown_dir [Tests] use -ex option during tests when possible 2016-07-10 19:58:32 -07:00