nvm/test/fast
Julien Gilli 2d692d9d78 Fix support for installing node on SmartOS
uname on SmartOS cannot be used to guess if 32 and/or 64 bits binaries
are supported, and its output is different than other uname commands on
other operating systems.

This change uses pkg_info to determine what types of binaries pkgsrc
would install. If pkg_info fails to run or is not present, this change
falls back to using isainfo -n, which determines what the kernel
supports.

It allows users to install node binaries on Solaris derivatives. io.js
can also be installed on Solaris derivatives starting with version
v3.3.1.
2015-09-30 22:10:29 -07: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 Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07: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 Default $NVM_SYMLINK_CURRENT to off (create a "current" symlink on `use`). 2014-10-14 18:14:12 -07:00
Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false Default $NVM_SYMLINK_CURRENT to off (create a "current" symlink on `use`). 2014-10-14 18:14:12 -07:00
Sourcing nvm.sh should make the nvm command available. 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 Making sure that versions are backed up when running tests. 2014-08-20 00:37:38 -07: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