diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-23 20:28:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-23 20:28:44 +0000 |
commit | d5961683763d0e20330a737abb72ef4321a18b38 (patch) | |
tree | a55fc6fbeb4d83e90c808fae05901a2ae7e00f08 /src/statistics | |
parent | b0a7544ab06e28862b3e0e7f6abd476c1985253f (diff) | |
download | gnunet-d5961683763d0e20330a737abb72ef4321a18b38.tar.gz gnunet-d5961683763d0e20330a737abb72ef4321a18b38.zip |
check flag
Diffstat (limited to 'src/statistics')
-rwxr-xr-x | src/statistics/test_gnunet_statistics.sh | 12 |
1 files changed, 12 insertions, 0 deletions
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 | |||
150 | $arm -e | 150 | $arm -e |
151 | exit 1 | 151 | exit 1 |
152 | fi | 152 | fi |
153 | if ! $exe $DEBUG > $out; then | ||
154 | echo "FAIL: error running $exe" | ||
155 | $arm -e | ||
156 | exit 1 | ||
157 | fi | ||
158 | LINES=`cat $out | grep \! | wc -l` | ||
159 | if test $LINES -ne 0; then | ||
160 | echo "FAIL: unexpected output" | ||
161 | cat $out | ||
162 | $arm -e | ||
163 | exit 1 | ||
164 | fi | ||
153 | echo "PASS" | 165 | echo "PASS" |
154 | 166 | ||
155 | 167 | ||