aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2015-05-22 09:03:01 +0200
committerLuca Deri <deri@ntop.org>2015-05-22 09:03:01 +0200
commit43bf9df219c8208abadb144857ebe83fe80b517b (patch)
tree6a5b8c88fe2eaa4300ad9eada55eb45127cc9937 /tests
parentdcf9af732d2f474cf68c9127f3ba1ab10bda728b (diff)
Improved testing application
Removed warning from the quic dissector Travis now runs regression tests
Diffstat (limited to 'tests')
-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