nvm/test/fast/Unit tests
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
..
iojs_version_has_solaris_binary Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00
node_version_has_solaris_binary Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00
nvm_add_iojs_prefix Add `nvm_add_iojs_prefix` 2015-01-13 00:57:32 -08:00
nvm_alias Add `nvm_alias` and unit tests. 2014-09-30 00:23:37 -07:00
nvm_alias_path Consolidate "alias" directory to a method. 2015-01-12 01:27:53 -08:00
nvm_checksum Run cleanup on die in nvm_checksum unit test. 2014-08-30 21:57:17 -05:00
nvm_die_on_prefix Add support for `$NPM_CONFIG_PREFIX` to `nvm_die_on_prefix`. 2015-09-23 06:25:55 -07:00
nvm_ensure_default_set Add `nvm_ensure_default_set` 2015-04-05 16:49:29 -07:00
nvm_ensure_version_installed Fix `nvm_ensure_version_installed iojs` to not print an empty string for the version. 2015-09-11 10:42:47 +09:00
nvm_ensure_version_prefix Update `nvm_ensure_version_prefix` to support `iojs`-prefixed version strings. 2015-01-12 18:15:51 -08:00
nvm_find_up Unit tests: add `nvm_find_up` 2014-09-15 09:09:56 -07:00
nvm_format_version nvm_format_version: add unit tests. 2014-09-29 01:34:50 -07:00
nvm_get_arch Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00
nvm_get_latest missing curl or wget Tests for `nvm_get_latest` 2014-12-21 18:13:59 -08:00
nvm_has Unit tests: add `nvm_has` 2014-09-15 09:09:51 -07:00
nvm_has_solaris_binary Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00
nvm_has_system_iojs Add `nvm_has_system_iojs` 2015-01-18 20:55:48 -06:00
nvm_has_system_node Adding nvm_has_system_node 2014-07-14 21:41:26 -07:00
nvm_iojs_prefix Add `nvm_iojs_prefix` 2015-01-12 18:15:04 -08:00
nvm_is_alias Add `nvm_is_alias` unit tests. 2015-02-20 13:59:08 -08:00
nvm_is_iojs_version Add `nvm_is_iojs_version` 2015-01-12 18:15:15 -08:00
nvm_is_merged_node_version Add `nvm_is_merged_node_version` 2015-08-28 00:51:18 -07:00
nvm_is_valid_version Add nvm_is_valid_version 2015-02-01 13:01:40 -08:00
nvm_ls_current Making sure this test passes whether a system node is installed or not. 2015-04-04 23:49:43 -07:00
nvm_ls_remote Support `nvm ls-remote stable` and `nvm ls-remote unstable` 2014-09-29 00:10:06 -07:00
nvm_ls_remote_iojs Add `nvm_ls_remote_iojs` and `nvm ls-remote` support for iojs. 2015-01-13 02:14:29 -08:00
nvm_node_prefix Add `nvm_node_prefix` 2015-01-13 14:16:35 -08:00
nvm_num_version_groups `nvm_num_version_groups` should report 0 when given just a v or a . 2015-04-06 11:10:43 -07:00
nvm_prepend_path Use correct variables 2014-05-09 15:36:44 +02:00
nvm_print_implicit_alias errors Add support for `node` and `iojs` implicit aliases. 2015-02-10 23:43:47 -08:00
nvm_print_implicit_alias success Ensure after node v4.0 is released, `stable` will simply refer to the latest node. 2015-08-22 09:45:49 -07:00
nvm_print_npm_version Create `nvm_print_npm_version` and use that when printing the `npm` version. 2015-04-12 10:59:17 -07:00
nvm_remote_version Add support for `node` and `iojs` implicit aliases. 2015-02-10 23:43:47 -08:00
nvm_remote_versions Refactor and create `nvm_remote_versions` and `nvm_remote_version`. 2015-01-21 20:48:25 -08:00
nvm_strip_iojs_prefix Add `nvm_strip_iojs_prefix` 2015-01-12 18:15:25 -08:00
nvm_strip_path Fix `nvm_strip_path` for >= v0.12.0 node, and all io.js versions. 2015-01-18 23:55:26 -08:00
nvm_tree_contains_path Add error checking to nvm_tree_contains_path 2014-08-21 17:15:53 -07:00
nvm_validate_implicit_alias Add support for `node` and `iojs` implicit aliases. 2015-02-10 23:43:47 -08:00
nvm_version Ensure `nvm_version node` and `nvm_version node-` report the latest stable node version. 2015-01-19 10:05:36 -08:00
nvm_version_dir Put node versions >= 0.12 in `versions/node` instead of just `versions` 2015-01-14 12:23:06 -08:00
nvm_version_greater Fixing nvm_version_greater tests. 2014-08-21 23:42:51 -07:00
nvm_version_path Make `nvm_print_versions` support iojs via `nvm_version_path`. 2015-01-13 00:49:31 -08:00