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

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

../dnscap -g -r dns.pcap 2>no-layers.out
../dnscap -g -r dns.pcap -o use_layers=yes 2>layers.out

diff no-layers.out layers.out