nvm/test/fast/Listing versions
Sehrope Sarkuni 0b5bb5ccd8
[Fix] `set -u`: Add default empty value for `$NVM_NO_ALIAS`
Adds a default value for NVM_NO_ALIAS so that nvm ls does not error out when run
in a bash nounset/-u (no unset vars) environment.
2019-05-14 08:31:24 -04:00
..
Running "nvm ls --no-alias" does not call into nvm_alias [New] `nvm ls`: add `--no-alias` to suppress alias output 2019-02-23 22:41:46 -08:00
Running "nvm ls --no-alias" with a pattern errors [New] `nvm ls`: add `--no-alias` to suppress alias output 2019-02-23 22:41:46 -08:00
Running "nvm ls 0.0.2" should display only version 0.0.2. [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm ls 0.2" should display only 0.2.x versions. [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm ls foo" should return a nonzero exit code when not found [Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
Running "nvm ls io" should return NA [Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
Running "nvm ls node_" should return a nonzero exit code when not found [Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
Running "nvm ls stable" and "nvm ls unstable" should return the appropriate implicit alias [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm ls system" should include "system" when appropriate [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm ls" calls into nvm_alias [Tests] `nvm ls`: ensure `nvm alias` is called 2019-02-23 22:22:18 -08:00
Running "nvm ls" should display all installed versions. [Tests] use rimraf over `rmdir` in teardowns 2019-02-27 10:50:59 +01:00
Running "nvm ls" should filter out ".nvm" [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm ls" should filter out "versions" [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm ls" should include "system" when appropriate [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm ls" should list versions in the "versions" directory [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm ls" with node-like versioning vx.x.x should only list a matched version [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm ls" with nounset should not fail. [Fix] `set -u`: Add default empty value for `$NVM_NO_ALIAS` 2019-05-14 08:31:24 -04:00
Using a nonstandard IFS should not break [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
teardown [Tests] use rimraf over `rmdir` in teardowns 2019-02-27 10:50:59 +01:00