nvm/test/fast
Jonas Dohse 192b2ecb1b Support deduction of nvm directory in zsh
In zsh nvm fails to deduce nvm's directory from nvm.sh, because
`$BASH_SOURCE` is not present in zsh. Use the directory of `$0`, if its
filename is `nvm.sh`. We use `$BASH_SOUCE` in bash, `$0` in zsh (and
similar) and fallback to `~/.nvm` otherwise.
2014-03-21 01:05:23 +01:00
..
Aliases tests from readme 2012-10-11 16:12:50 -04:00
Listing versions Missed tests 2014-02-18 22:07:25 -08:00
$BASH_SOURCE should not be a problem in sh and zsh Support deduction of nvm directory in zsh 2014-03-21 01:05:23 +01: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. Double == causes error on travis (dash shell) 2014-03-17 19:44:40 +01:00
Running "nvm deactivate" should unset the nvm environment variables. fix logic error in nvm deactivate test 2014-02-21 21:06:53 +10: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
setup Fix the setup/teardown urchin test scripts under zsh 2013-06-07 23:18:50 +02:00
setup_dir tests: avoid reliance on nullglob 2014-02-21 19:21:03 +10:00
Sourcing nvm.sh from another path than the default one should not show find errors Demonstrate failing path detection in zsh 2014-03-21 01:05:23 +01:00
Sourcing nvm.sh should make the nvm command available. tests from readme 2012-10-11 16:12:50 -04:00
teardown Fix the setup/teardown urchin test scripts under zsh 2013-06-07 23:18:50 +02:00
teardown_dir Added travis config, fixed tests for use on travis 2014-03-17 14:33:25 +01:00