summaryrefslogtreecommitdiffstats
path: root/src/test/test_edns.sh
blob: adb256af6e651e2f116e6c708932e3445a2d32a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -xe

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

../dnscap -g -r edns.pcap 2>edns.out

mv edns.out edns.out.old
grep -v "^libgcov profiling error:" edns.out.old > edns.out
rm edns.out.old

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