summaryrefslogtreecommitdiffstats
path: root/plugins/cryptopant/test1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cryptopant/test1.sh')
-rwxr-xr-xplugins/cryptopant/test1.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/cryptopant/test1.sh b/plugins/cryptopant/test1.sh
index cb632cf..9e4182a 100755
--- a/plugins/cryptopant/test1.sh
+++ b/plugins/cryptopant/test1.sh
@@ -21,6 +21,11 @@ fi
../../src/dnscap -r dns.pcap-dist -g -P "$plugin" -k "$srcdir/keyfile" -s 2>>test1.out
! ../../src/dnscap -r dns.pcap-dist -g -P "$plugin" -k "$srcdir/keyfile" -c -s 2>>test1.out
+ln -fs "$srcdir/../../src/test/edns.pcap" edns.pcap-dist
+
+../../src/dnscap -r edns.pcap-dist -g -P "$plugin" -k "$srcdir/keyfile" -4 8 -e 2>>test1.out
+../../src/dnscap -r edns.pcap-dist -g -P "$plugin" -k "$srcdir/keyfile" -4 8 -E 2>>test1.out
+
osrel=`uname -s`
if [ "$osrel" = "OpenBSD" ]; then
mv test1.out test1.out.old