diff options
Diffstat (limited to 'src/test/test9.sh')
-rwxr-xr-x | src/test/test9.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/test9.sh b/src/test/test9.sh index aff7610..3478256 100755 --- a/src/test/test9.sh +++ b/src/test/test9.sh @@ -1,6 +1,8 @@ #!/bin/sh -xe -../dnscap -r dns.pcap-dist -g -B '2016-10-20 15:23:30' -E '2016-10-20 15:24:00' 2>test9.out -../dnscap -r dns.pcap-dist -o use_layers=yes -g -B '2016-10-20 15:23:30' -E '2016-10-20 15:24:00' 2>>test9.out +test -e dns.pcap || ln -s "$srcdir/dns.pcap" dns.pcap + +../dnscap -r dns.pcap -g -B '2016-10-20 15:23:30' -E '2016-10-20 15:24:00' 2>test9.out +../dnscap -r dns.pcap -o use_layers=yes -g -B '2016-10-20 15:23:30' -E '2016-10-20 15:24:00' 2>>test9.out diff test9.out "$srcdir/test9.gold" |