check status before programming
authorEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Sat, 29 Oct 2016 12:27:51 +0000 (14:27 +0200)
committerEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Sat, 29 Oct 2016 12:27:51 +0000 (14:27 +0200)
example/diameter/launcher/deployments/st-client/program.sh

index ab9aad3..53090ab 100755 (executable)
@@ -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