summaryrefslogtreecommitdiffstats
path: root/src/test/test6.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test6.sh')
-rwxr-xr-xsrc/test/test6.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/test6.sh b/src/test/test6.sh
new file mode 100755
index 0000000..f05713b
--- /dev/null
+++ b/src/test/test6.sh
@@ -0,0 +1,6 @@
+#!/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
+
+diff dnspad.out "$srcdir/dnspad.gold"