2015-09-29 07:02:34 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-11-07 03:34:36 +08:00
|
|
|
die () { echo "$@" ; exit 1; }
|
2015-09-29 07:02:34 +08:00
|
|
|
|
2016-11-04 13:15:18 +08:00
|
|
|
\. ../../../nvm.sh
|
|
|
|
\. ../../common.sh
|
2015-09-29 07:02:34 +08:00
|
|
|
|
|
|
|
assert_not_ok iojs_version_has_solaris_binary ""
|
|
|
|
assert_not_ok iojs_version_has_solaris_binary "foo"
|
|
|
|
assert_not_ok iojs_version_has_solaris_binary "v1.1.0"
|
|
|
|
|
|
|
|
assert_ok iojs_version_has_solaris_binary "v3.3.1"
|
|
|
|
assert_ok iojs_version_has_solaris_binary "iojs-v3.3.1"
|
|
|
|
assert_ok iojs_version_has_solaris_binary "v3.3.2"
|
|
|
|
assert_ok iojs_version_has_solaris_binary "iojs-v3.3.2"
|
|
|
|
assert_ok iojs_version_has_solaris_binary "v3.4.1"
|
|
|
|
assert_ok iojs_version_has_solaris_binary "iojs-v3.4.1"
|