nvm/test/mocks
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
..
isainfo_amd64 Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00
isainfo_x86 Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00
pkg_info_amd64 Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00
pkg_info_x86 Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00
uname_osx_amd64 Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00
uname_osx_x86 Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00
uname_smartos_amd64 Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00
uname_smartos_x86 Fix support for installing node on SmartOS 2015-09-30 22:10:29 -07:00