mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
set -o verbose for bash tests
This commit is contained in:
parent
3693793d85
commit
1ac0b8dc51
@ -20,6 +20,8 @@ script="echo"
|
||||
|
||||
file_path="test/fixtures"
|
||||
|
||||
set -o verbose
|
||||
|
||||
$pm2 kill
|
||||
|
||||
# Determine wget / curl
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user