X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeployments%2Fst-client%2Fprogram.sh;h=fb31cca56473be4c473800ecdc9608561121413a;hb=37e9fbf9c427f6cedb6da49959eae8e6c44fd9ec;hp=b02fd2d8aecac8cd83612693d8edea64a1eb1016;hpb=913a64fa09cecb0932cfc2d5fd6df8c1b2dc4ca3;p=anna.git diff --git a/example/diameter/launcher/deployments/st-client/program.sh b/example/diameter/launcher/deployments/st-client/program.sh index b02fd2d..fb31cca 100755 --- a/example/diameter/launcher/deployments/st-client/program.sh +++ b/example/diameter/launcher/deployments/st-client/program.sh @@ -22,8 +22,11 @@ _exit() { usage() { echo "Usage: $0 [-s]" echo + echo " Performs test case programming from scratch (current test cases will be dropped from ADML involved instances)." + echo echo " test stuff directory: contains msk files, specially a testcase description with xml files referenced." echo " Those files, adding .msk extension, shall exists in the same directory. For example:" + echo echo " $0 st_examples/DynamicQualification" echo echo " -s: start testing just after programming, using desired rate: $DESIRED_RATE test cases per second." @@ -52,6 +55,8 @@ miss_conf= echo [ -z "$1" ] && usage +./operation.sh --ping +[ $? -ne 0 ] && _exit "Programming aborted (some ADML client process is not running) !" TESTCASE_DIR=$1 AUTOSTART=$2 @@ -105,6 +110,9 @@ else rate_per_instance=$((desired_rate/$ADML_INSTANCES)) [ $rate_per_instance -lt 1 ] && rate_per_instance=1 ./operation.sh "test|ttps|$rate_per_instance" + else + echo "Remember that you could start traffic using:" + echo " ./operation.sh \"test|ttps|\"" fi fi