2 # This test launches in parallel a great number of instances of a usual use case
5 cat > $WORKDIR/command.sh <<< 'echo "OK" > result.txt'
6 chmod 755 $WORKDIR/command.sh
9 python launcher_use_case.py $WORKDIR 2> $WORKDIR/log$i.err &
18 echo "Error detected!"
22 # list of error files not empty
23 ls -l $WORKDIR/*.err | awk '{if ($5 != "0") print $0}'