[Tests] use -ex option during tests when possible

Relates to #1130
This commit is contained in:
Jordan Harband
2016-07-07 00:00:59 -07:00
parent 186eb8838d
commit ecbd7d4572
21 changed files with 115 additions and 40 deletions

View File

@@ -1,5 +1,9 @@
#!/bin/sh
set -ex
. ../../nvm.sh
nvm alias test v0.1.2
[ "$(cat ../../alias/test)" = "v0.1.2" ]
[ "$(cat "$(nvm_alias_path)/test")" = "v0.1.2" ]