set -o verbose for bash tests

This commit is contained in:
tknew2 2014-10-11 15:47:07 +02:00
parent 3693793d85
commit 1ac0b8dc51
3 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,8 @@ script="echo"
file_path="test/fixtures"
set -o verbose
$pm2 kill
# Determine wget / curl

View File

@ -3,7 +3,10 @@
alias mocha='../node_modules/mocha/bin/mocha'
pm2="`type -P node` `pwd`/bin/pm2"
# Abort script at first error
set -e
# Display all commands executed
set -o verbose
function fail {
echo -e "######## \033[31m ✘ $1\033[0m"

View File

@ -3,7 +3,10 @@
SRC=$(cd $(dirname "$0"); pwd)
source "${SRC}/bash/include.sh"
# Abort script at first error
set -e
# Display all commands executed
set -o verbose
echo "####################### DEBUG ############################"
echo "PM2 Command = " $pm2