diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-23 20:20:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-23 20:20:42 +0000 |
commit | 194eb3a6a1e629a21b00574a3324d8e955e0e6db (patch) | |
tree | 50ce231411094e9981b987719d1231255fd5b529 /src/statistics | |
parent | 292fad96f60622d28c509d20f69d83caccbdcaae (diff) | |
download | gnunet-194eb3a6a1e629a21b00574a3324d8e955e0e6db.tar.gz gnunet-194eb3a6a1e629a21b00574a3324d8e955e0e6db.zip |
check-early
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 79e15495b..55190502a 100755 --- a/src/statistics/test_gnunet_statistics.sh +++ b/src/statistics/test_gnunet_statistics.sh | |||
@@ -101,6 +101,18 @@ if ! $exe $DEBUG -n lasting -s subsystem 40 -p; then | |||
101 | $arm -e | 101 | $arm -e |
102 | exit 1 | 102 | exit 1 |
103 | fi | 103 | fi |
104 | if ! $exe $DEBUG > $out; then | ||
105 | echo "FAIL: error running $exe" | ||
106 | $arm -e | ||
107 | exit 1 | ||
108 | fi | ||
109 | LINES=`cat $out | grep 40 | wc -l` | ||
110 | if test $LINES -ne 1; then | ||
111 | echo "FAIL: unexpected output" | ||
112 | cat $out | ||
113 | $arm -e | ||
114 | exit 1 | ||
115 | fi | ||
104 | echo "PASS" | 116 | echo "PASS" |
105 | 117 | ||
106 | # ----------------------------------- | 118 | # ----------------------------------- |