X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeployments%2Fst-client%2Foperation_all.sh;h=2dcb90030a129eda4c92376db38d3bff8841dae6;hp=e2efaa49e2cbe6a206b7a558b77d540be14fb49b;hb=d723d5bf571eb48c641b092058eaa38bb6c4fcc8;hpb=61f1340da3cae5159d2e3bc14fc47c6d4bf9453e diff --git a/example/diameter/launcher/deployments/st-client/operation_all.sh b/example/diameter/launcher/deployments/st-client/operation_all.sh index e2efaa4..2dcb900 100755 --- a/example/diameter/launcher/deployments/st-client/operation_all.sh +++ b/example/diameter/launcher/deployments/st-client/operation_all.sh @@ -8,14 +8,21 @@ then exit 1 fi +if [ "$1" = "-h" -o "$1" = "--help" ] +then + first_adml=$(ls -d ADMLS/* | head -n +1) + $first_adml/operation.sh help + exit 0 +fi + for op in `ls ADMLS/*/operation.sh` do dn_op=`dirname $op` cd $dn_op echo -n "Instance `basename $dn_op`: " 0>launcher.trace - ./operation.sh $@ - [ $? -ne 0 ] && { echo ; exit 1 ; } + ./operation.sh $@ & + #[ $? -ne 0 ] && { echo ; exit 1 ; } cd - >/dev/null done