add set -e to bash tests

This commit is contained in:
tknew2 2014-09-02 14:06:15 +02:00
parent 6995b61f39
commit cf3ebcbfda
2 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -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