From: Christian Grothoff Date: Fri, 23 Oct 2009 20:28:44 +0000 (+0000) Subject: check flag X-Git-Tag: initial-import-from-subversion-38251~23276 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d5961683763d0e20330a737abb72ef4321a18b38;p=oweals%2Fgnunet.git check flag --- diff --git a/src/statistics/test_gnunet_statistics.sh b/src/statistics/test_gnunet_statistics.sh index f11fc62b1..eb2d618d9 100755 --- a/src/statistics/test_gnunet_statistics.sh +++ b/src/statistics/test_gnunet_statistics.sh @@ -150,6 +150,18 @@ if ! $exe $DEBUG -n lasting -s subsystem 40; then $arm -e exit 1 fi +if ! $exe $DEBUG > $out; then + echo "FAIL: error running $exe" + $arm -e + exit 1 +fi +LINES=`cat $out | grep \! | wc -l` +if test $LINES -ne 0; then + echo "FAIL: unexpected output" + cat $out + $arm -e + exit 1 +fi echo "PASS"