projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add TODO
[oweals/gnunet.git]
/
src
/
statistics
/
test_gnunet_statistics.sh
diff --git
a/src/statistics/test_gnunet_statistics.sh
b/src/statistics/test_gnunet_statistics.sh
index 55190502a804a278ad77dceffafdd87fddac550b..eb2d618d9ac3c8f354e1d032113b9b56eceffaa1 100755
(executable)
--- 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
$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"
echo "PASS"
@@
-172,6
+184,7
@@
fi
LINES=`cat $out | grep 40 | wc -l`
if test $LINES -ne 0; then
echo "FAIL: unexpected output"
LINES=`cat $out | grep 40 | wc -l`
if test $LINES -ne 0; then
echo "FAIL: unexpected output"
+ cat $out
$arm -e
exit 1
fi
$arm -e
exit 1
fi