summaryrefslogtreecommitdiffstats
path: root/src/test/test8.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/test/test8.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test/test8.sh b/src/test/test8.sh
index e091ff6..99c726e 100755
--- a/src/test/test8.sh
+++ b/src/test/test8.sh
@@ -2,12 +2,16 @@
rm -f test8.out test8.layer.out
-for what in dnsotcp-many1pkt.pcap-dist dnsotcp-manyopkts.pcap-dist; do
+for what in dnsotcp-many1pkt.pcap dnsotcp-manyopkts.pcap; do
+ test -e "$what" || ln -s "$srcdir/$what" "$what"
+
../dnscap -r "$what" -g -T -o reassemble_tcp=yes 2>>test8.out
../dnscap -r "$what" -g -T -o reassemble_tcp=yes -o use_layers=yes 2>>test8.layer.out
done
-for what in dnso1tcp-bighole.pcap-dist; do
+for what in dnso1tcp-bighole.pcap; do
+ test -e "$what" || ln -s "$srcdir/$what" "$what"
+
../dnscap -r "$what" -g -T -o reassemble_tcp=yes -o allow_reset_tcpstate=yes 2>>test8.out
../dnscap -r "$what" -g -T -o reassemble_tcp=yes -o allow_reset_tcpstate=yes -o use_layers=yes 2>>test8.layer.out
done