X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Ftestsuite%2Ftest-loop.sh;h=68c87d28989059301d2bfec85fa581905216488b;hp=2db9d00b276d99fff39da6bdc55eb93492dcd0ac;hb=c5bdd86f96906a5367568d5210be59d1d36677e5;hpb=aa26e2ef36b9a4b5546b8a46ec26cc6fd943d572 diff --git a/src/testsuite/test-loop.sh b/src/testsuite/test-loop.sh index 2db9d00b..68c87d28 100755 --- a/src/testsuite/test-loop.sh +++ b/src/testsuite/test-loop.sh @@ -9,7 +9,7 @@ # (at your option) any later version. # Please read the file COPYING, README and AUTHORS for more information. # -# $Id: test-loop.sh,v 1.1 2004/09/04 15:44:45 alex Exp $ +# $Id: test-loop.sh,v 1.2 2004/09/04 19:14:46 alex Exp $ # # detect source directory @@ -22,9 +22,10 @@ loop=0 while [ ${loop} -lt $LOOPS ]; do loop=`expr ${loop} + 1` - echo " loop $loop/$LOOPS starting ..." + echo " loop $loop/$LOOPS starting:" for s in $srcdir/*-test; do - sh $s + sh $s; r=$? + [ $r -ne 0 ] && exit $r sleep 1 done if [ ${loop} -lt $LOOPS ]; then