summaryrefslogtreecommitdiffstats
path: root/src/test/test1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test1.sh')
-rwxr-xr-xsrc/test/test1.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test1.sh b/src/test/test1.sh
index 03142c9..deec4bf 100755
--- a/src/test/test1.sh
+++ b/src/test/test1.sh
@@ -1,6 +1,8 @@
#!/bin/sh -xe
-../dnscap -g -r dns.pcap-dist 2>dns.out
+test -e dns.pcap || ln -s "$srcdir/dns.pcap" dns.pcap
+
+../dnscap -g -r dns.pcap 2>dns.out
mv dns.out dns.out.old
grep -v "^libgcov profiling error:" dns.out.old > dns.out