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

../dnscap -g -r dns.pcap-dist 2>dns.out

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

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