aboutsummaryrefslogtreecommitdiff
path: root/tests/do.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/do.sh')
-rwxr-xr-xtests/do.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/do.sh b/tests/do.sh
index e7d28aa9c..2af667551 100755
--- a/tests/do.sh
+++ b/tests/do.sh
@@ -1,7 +1,7 @@
READER=../example/ndpiReader
-
+RC=0
PCAPS=`cd pcap; /bin/ls *.pcap`
build_results() {
@@ -25,6 +25,7 @@ check_results() {
echo "$f\t ERROR"
echo "$CMD"
diff result/$f.out /tmp/reader.out
+ RC=1
fi
/bin/rm /tmp/reader.out
@@ -32,6 +33,7 @@ check_results() {
done
}
-
build_results
-check_results \ No newline at end of file
+check_results
+
+exit $RC \ No newline at end of file