nvm/test/fast
Jonas Dohse 7135873f80 Do not modify parameters of sourcing script in zsh
When sourcing a script without parameters in zsh the sourced scripts
gets the same parameters as the sourcing file and is able to modify
these parameters. Prevent nvm from removing all parameters of sourcing
script by processing a copy of the parameters in a function.
2016-02-15 17:49:46 +01:00
..
Aliases Add `nvm_ensure_default_set` 2015-04-05 16:49:29 -07:00
Listing paths Put node versions >= 0.12 in `versions/node` instead of just `versions` 2015-01-14 12:23:06 -08:00
Listing versions Filter out the io.js version dir from nvm_ls output. 2015-02-02 17:41:04 -08:00
Unit tests Add `nvm_get_minor_version` 2016-02-04 11:16:09 -08:00
Running "nvm alias" should create a file in the alias directory. Added travis config, fixed tests for use on travis 2014-03-17 14:33:25 +01:00
Running "nvm current" should display current nvm environment. If nvm is deactivated, display "none" or "system" instead of the system node version 2014-07-21 02:03:18 -07:00
Running "nvm deactivate" should unset the nvm environment variables. Ensure that if `npm config get prefix` is set to something outside `nvm`, that `nvm use` refuses to work. 2015-09-21 04:47:37 -07:00
Running "nvm install" with "--reinstall-packages-from" requires a valid version Rename `nvm copy-packages` to `nvm reinstall-packages`, and `--copy-packages-from` install option to `--reinstall-packages-from` 2014-11-22 13:22:24 -08:00
Running "nvm install" with an invalid version fails nicely redirect stderr to stdout in test 2014-06-17 01:22:17 +02:00
Running "nvm unalias" should remove the alias file. tests from readme 2012-10-11 16:12:50 -04:00
Running "nvm uninstall" should remove the appropriate directory. tests from readme 2012-10-11 16:12:50 -04:00
Running "nvm unload" should unset all function and variables. Adding a trailing newline 2014-05-28 20:54:25 -07:00
Running "nvm use foo" where "foo" is circular aborts Adding unit tests for --silent 2015-07-10 10:27:35 +10:00
Running "nvm use iojs" uses latest io.js version Allow `--silent` option to `nvm use` to be in any position. 2015-09-23 04:51:55 -07:00
Running "nvm use system" should work as expected Adding unit tests for --silent 2015-07-10 10:27:35 +10:00
Running "nvm use x" should create and change the "current" symlink use env bash rather than /bin/bash 2016-02-14 19:34:19 +00:00
Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false use env bash rather than /bin/bash 2016-02-14 19:34:19 +00:00
Sourcing nvm.sh should make the nvm command available. tests from readme 2012-10-11 16:12:50 -04:00
Sourcing nvm.sh should not modify parameters of caller Do not modify parameters of sourcing script in zsh 2016-02-15 17:49:46 +01:00
setup Fix the setup/teardown urchin test scripts under zsh 2013-06-07 23:18:50 +02:00
setup_dir Making sure that versions are backed up when running tests. 2014-08-20 00:37:38 -07:00
teardown Use `xz` tarballs if available 2015-10-08 16:45:26 +11:00
teardown_dir Added travis config, fixed tests for use on travis 2014-03-17 14:33:25 +01:00