diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-30 08:12:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-30 08:12:55 +0000 |
commit | aa278ae46dffc031baf51faa506add8a34d51c1b (patch) | |
tree | 035e9f39bf9cad467db3ef58de2805a7a88cb273 /src/test/test_regex_match.sh | |
parent | Adding upstream version 2.1.2. (diff) | |
download | dnscap-ed7a823dfde91e7daca5e4c09db1ac00c3ff8dac.tar.xz dnscap-ed7a823dfde91e7daca5e4c09db1ac00c3ff8dac.zip |
Adding upstream version 2.1.3.upstream/2.1.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/test_regex_match.sh')
-rwxr-xr-x | src/test/test_regex_match.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/test_regex_match.sh b/src/test/test_regex_match.sh new file mode 100755 index 0000000..184ca7b --- /dev/null +++ b/src/test/test_regex_match.sh @@ -0,0 +1,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" |