X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeployments%2Fst-client%2Foperation_all.sh;h=2dcb90030a129eda4c92376db38d3bff8841dae6;hb=d723d5bf571eb48c641b092058eaa38bb6c4fcc8;hp=88113816919925d0e977dd8649803b190c611d7d;hpb=5bf5055ab79aaf464e2491cfbab173ba37ba3419;p=anna.git diff --git a/example/diameter/launcher/deployments/st-client/operation_all.sh b/example/diameter/launcher/deployments/st-client/operation_all.sh index 8811381..2dcb900 100755 --- a/example/diameter/launcher/deployments/st-client/operation_all.sh +++ b/example/diameter/launcher/deployments/st-client/operation_all.sh @@ -8,13 +8,24 @@ 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 $@ + ./operation.sh $@ & + #[ $? -ne 0 ] && { echo ; exit 1 ; } cd - >/dev/null done +echo +exit 0 +