summaryrefslogtreecommitdiffstats
path: root/src/test/test10.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/test/test10.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/test10.sh b/src/test/test10.sh
index 2779cb0..81375ed 100755
--- a/src/test/test10.sh
+++ b/src/test/test10.sh
@@ -1,6 +1,8 @@
#!/bin/sh -xe
-../dnscap -r dns6.pcap-dist -g 2>test10.out
-../dnscap -r dns6.pcap-dist -o use_layers=yes -g 2>>test10.out
+test -e dns6.pcap || ln -s "$srcdir/dns6.pcap" dns6.pcap
+
+../dnscap -r dns6.pcap -g 2>test10.out
+../dnscap -r dns6.pcap -o use_layers=yes -g 2>>test10.out
diff test10.out "$srcdir/test10.gold"