diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-04 09:27:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-04 09:27:04 +0000 |
commit | 81fa0bc63909a67cdd6d321617a2e5648a6a94a2 (patch) | |
tree | 2b0a2eae7aed22e3c6f707283d7617d8c02b3fbe /src/test/test6.sh | |
parent | Adding upstream version 2.1.3. (diff) | |
download | dnscap-09b0fb3b1aa208fd8414e3410157ce1fb6f5a1f6.tar.xz dnscap-09b0fb3b1aa208fd8414e3410157ce1fb6f5a1f6.zip |
Adding upstream version 2.2.0.upstream/2.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/test6.sh')
-rwxr-xr-x | src/test/test6.sh | 6 |
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" |