From: Eduardo Ramos Testillano Date: Sat, 29 Oct 2016 12:27:51 +0000 (+0200) Subject: check status before programming X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=commitdiff_plain;h=ab588dfc5707c75d5a46cd557da70d79b755fe25 check status before programming --- diff --git a/example/diameter/launcher/deployments/st-client/program.sh b/example/diameter/launcher/deployments/st-client/program.sh index ab9aad3..53090ab 100755 --- a/example/diameter/launcher/deployments/st-client/program.sh +++ b/example/diameter/launcher/deployments/st-client/program.sh @@ -106,6 +106,9 @@ echo [ -z "$1" ] && usage echo "Testcases programming ..." echo +cd `dirname $0` +./checkStatus.sh +[ $? -ne 0 ] && _exit "Fix status to continue ..." # We launch in background ! #./operation.sh --ping >/dev/null