Testing library separation: now not in launcher but isolated
[anna.git] / example / diameter / launcher / deployments / st-client / operation_all.sh
1 #!/bin/bash
2 cd `dirname $0`
3 if [ ! -d "ADMLS" ]
4 then
5   echo
6   echo "Run './configure.sh' first !"
7   echo
8   exit 1
9 fi
10
11 if [ "$1" = "-h" -o "$1" = "--help" ]
12 then
13   first_adml=$(ls -d ADMLS/* | head -n +1)
14   $first_adml/operation.sh help
15   exit 0
16 fi
17
18 for op in `ls ADMLS/*/operation.sh`
19 do
20   dn_op=`dirname $op`
21   cd $dn_op
22   echo -n "Instance `basename $dn_op`: "
23   0>launcher.trace
24   ./operation.sh $@ &
25   #[ $? -ne 0 ] && { echo ; exit 1 ; }
26   cd - >/dev/null
27 done
28
29 echo
30 exit 0
31