From e2505c32ec7b9d791d6b46f90e41ee4d5418af46 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 30 Jun 2023 10:13:00 +0200 Subject: Merging upstream version 2.1.3. Signed-off-by: Daniel Baumann --- src/test/test_regex_match.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 src/test/test_regex_match.sh (limited to 'src/test/test_regex_match.sh') 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" -- cgit v1.2.3