blob: 99c726e2b45aa055c04615563ae1b77bba322e82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh -xe
rm -f test8.out test8.layer.out
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; 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
diff test8.out "$srcdir/test8.gold"
diff test8.layer.out "$srcdir/test8.gold"
|