nvm/test/fast
Julien Gilli a32b914bab Fix nvm on SmartOS setups using 64 bits pkgsrc repository
On SmartOS setups using 64 bits pkgsrc repositories, `nvm_get_arch`
would not handle pkg_info's output properly.

This would result in nvm not being to install any node binary when
running on SmartOS setups using a 64 bits pkgsrc repository.

This change fixes this problem, and fixes the tests suite on similar
setups.
2016-07-29 14:08:31 -07:00
..
Aliases [Tests] `nvm alias --lts`: add tests 2016-06-26 15:11:37 -07:00
Listing paths [Tests] use `$NVM_DIR` instead of relative paths 2016-06-26 15:52:26 -07:00
Listing versions [Tests] use `$NVM_DIR` instead of relative paths 2016-06-26 15:52:26 -07:00
Unit tests Fix nvm on SmartOS setups using 64 bits pkgsrc repository 2016-07-29 14:08:31 -07:00
Running "nvm alias" should create a file in the alias directory. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm current" should display current nvm environment. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm deactivate" should unset the nvm environment variables. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm install" with "--reinstall-packages-from" requires a valid version [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm install" with an invalid version fails nicely [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm unalias" should remove the alias file. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm uninstall" should remove the appropriate directory. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm uninstall" with incorrect file permissions fails nicely [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm unload" should unset all function and variables. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm use foo" where "foo" is circular aborts [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm use iojs" uses latest io.js version [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm use system" should work as expected [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm use x" should create and change the "current" symlink [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false [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] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Sourcing nvm.sh should not modify parameters of caller [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07: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
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