aboutsummaryrefslogtreecommitdiff
path: root/tests/do.sh
diff options
context:
space:
mode:
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 7516e5997..a17878fb5 100755
--- a/tests/do.sh
+++ b/tests/do.sh
@@ -7,7 +7,10 @@ build_results() {
for f in $PCAPS; do
#echo $f
# create result files if not present
- [ ! -f result/$f.out ] && $READER -q -i pcap/$f -w result/$f.out -v 1
+ if [ ! -f result/$f.out ]; then
+ CMD="$READER -q -i pcap/$f -w result/$f.out -v 1"
+ $CMD
+ fi
done
}