X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeployments%2Fst-client%2Fprogram.sh;h=5714785bf4c68179428d2d71d2fc1b44a9864ce3;hb=1061cb8cf19ca6d594505c3e487606c0dd0634ff;hp=a5f1ae108d44cf7cbbbe2cf716e9e96acaeee055;hpb=f6a2bc0692ff9b4eb3cf35b3458acc3b527a5f66;p=anna.git diff --git a/example/diameter/launcher/deployments/st-client/program.sh b/example/diameter/launcher/deployments/st-client/program.sh index a5f1ae1..5714785 100755 --- a/example/diameter/launcher/deployments/st-client/program.sh +++ b/example/diameter/launcher/deployments/st-client/program.sh @@ -184,7 +184,7 @@ else TESTCASE_DIR=$(readlink -f dynlibs/libanna_launcher_procedure_default_shared.so | xargs dirname) DYNAMIC_SUFFIX_FILE=$TESTCASE_DIR/dynamic.suffix - [ ! -f $DYNAMIC_SUFFIX_FILE ] && _exit "Missing '$DYNAMIC_SUFFIX_FILE' file.\nUse 'dynlibs/select.sh' to change the dynamic procedure and restart the ADML instances." + [ ! -f $DYNAMIC_SUFFIX_FILE ] && _exit "Missing '$DYNAMIC_SUFFIX_FILE' file.\nUse 'dynlibs/select.sh' to change the dynamic procedure and very important: RESTART the ADML instances." dynamic_suffix=( $(grep -v ^# $DYNAMIC_SUFFIX_FILE) ) # Multiple scenarios: @@ -220,6 +220,17 @@ else echo read dynamic_suffix while [ -z "$dynamic_suffix" ]; do read dynamic_suffix ; done + timeout=$(echo $dynamic_suffix | cut -d\| -f1) + if [ "$timeout" = "0" ] + then + echo + echo "Zero-timeout will configure 'auto-reset' as 'hard' in order" + echo " to reset properly the test cases in further cycles ..." + ./operation.sh "test|auto-reset|hard" >/dev/null + echo + echo "Press ENTER to continue ..." + read dummy + fi fi fi