summaryrefslogtreecommitdiffstats
path: root/src/test/test9.sh
blob: 34782568809336306dba39dc64ec25c0e0398c4d (plain)
1
2
3
4
5
6
7
8
#!/bin/sh -xe

test -e dns.pcap || ln -s "$srcdir/dns.pcap" dns.pcap

../dnscap -r dns.pcap -g -B '2016-10-20 15:23:30' -E '2016-10-20 15:24:00' 2>test9.out
../dnscap -r dns.pcap -o use_layers=yes -g -B '2016-10-20 15:23:30' -E '2016-10-20 15:24:00' 2>>test9.out

diff test9.out "$srcdir/test9.gold"