summaryrefslogtreecommitdiffstats
path: root/src/test/test6.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 09:27:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 09:27:04 +0000
commit81fa0bc63909a67cdd6d321617a2e5648a6a94a2 (patch)
tree2b0a2eae7aed22e3c6f707283d7617d8c02b3fbe /src/test/test6.sh
parentAdding upstream version 2.1.3. (diff)
downloaddnscap-upstream.tar.xz
dnscap-upstream.zip
Adding upstream version 2.2.0.upstream/2.2.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/test6.sh')
-rwxr-xr-xsrc/test/test6.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/test6.sh b/src/test/test6.sh
index f05713b..18a6887 100755
--- a/src/test/test6.sh
+++ b/src/test/test6.sh
@@ -1,6 +1,8 @@
#!/bin/sh -xe
-../dnscap -g -r dnspad.pcap-dist 2>dnspad.out
-../dnscap -o use_layers=yes -g -r dnspad.pcap-dist 2>>dnspad.out
+test -e dnspad.pcap || ln -s "$srcdir/dnspad.pcap" dnspad.pcap
+
+../dnscap -g -r dnspad.pcap 2>dnspad.out
+../dnscap -o use_layers=yes -g -r dnspad.pcap 2>>dnspad.out
diff dnspad.out "$srcdir/dnspad.gold"