aboutsummaryrefslogtreecommitdiff
path: root/tests/do.sh
diff options
context:
space:
mode:
authorAndrea Buscarinu <seven.and@gmail.com>2015-05-21 21:31:14 +0200
committerAndrea Buscarinu <seven.and@gmail.com>2015-05-21 21:31:14 +0200
commit12ac63684b3597ca9ce02ce121f48b273b61d24e (patch)
tree59531c083bcd97f1eafb31c43d0cbb31a66a3f54 /tests/do.sh
parent57926cc97da148a593f08191d09e3003427a8712 (diff)
parentde03e1efe4903dbcda84a8a2491cc9e1eeef210b (diff)
Merge pull request #1 from ntop/dev
Update from original
Diffstat (limited to 'tests/do.sh')
-rwxr-xr-xtests/do.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/do.sh b/tests/do.sh
index 4f81906f7..e7d28aa9c 100755
--- a/tests/do.sh
+++ b/tests/do.sh
@@ -15,13 +15,16 @@ build_results() {
check_results() {
for f in $PCAPS; do
if [ -f result/$f.out ]; then
- $READER -q -i pcap/$f -w /tmp/reader.out
+ CMD="$READER -q -i pcap/$f -w /tmp/reader.out"
+ $CMD
NUM_DIFF=`diff result/$f.out /tmp/reader.out | wc -l`
if [ $NUM_DIFF -eq 0 ]; then
echo "$f\t OK"
else
echo "$f\t ERROR"
+ echo "$CMD"
+ diff result/$f.out /tmp/reader.out
fi
/bin/rm /tmp/reader.out