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

../dnscap -g -r dns.pcap-dist -x 'ns1' 2>test_regex_match.out
../dnscap -g -r dns.pcap-dist -X 'ns1' 2>>test_regex_match.out
../dnscap -g -r dns.pcap-dist -x 'ns1' -X 'ns1' 2>>test_regex_match.out

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

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