diff --git a/test/index.sh b/test/index.sh index b844d448..1e3d7419 100644 --- a/test/index.sh +++ b/test/index.sh @@ -3,7 +3,7 @@ alias mocha='../node_modules/mocha/bin/mocha' pm2="`type -P node` `pwd`/bin/pm2" - +set -e function fail { echo -e "######## \033[31m ✘ $1\033[0m" diff --git a/test/main.sh b/test/main.sh index 2f6d610d..827b046d 100644 --- a/test/main.sh +++ b/test/main.sh @@ -3,6 +3,8 @@ SRC=$(cd $(dirname "$0"); pwd) source "${SRC}/bash/include.sh" +set -e + echo "####################### DEBUG ############################" echo "PM2 Command = " $pm2 echo "Node version = " $nodeVersion