summaryrefslogtreecommitdiffstats
path: root/plugins/cryptopan/test1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cryptopan/test1.sh')
-rwxr-xr-xplugins/cryptopan/test1.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/cryptopan/test1.sh b/plugins/cryptopan/test1.sh
index b499f12..943ab2f 100755
--- a/plugins/cryptopan/test1.sh
+++ b/plugins/cryptopan/test1.sh
@@ -17,6 +17,11 @@ ln -fs "$srcdir/../../src/test/dns.pcap" dns.pcap-dist
../../src/dnscap -r dns.pcap-dist -g -P "$plugin" -k "some 16-byte key" -i "some 16-byte key" -a "some 16-byte key" -s 2>>test1.out
! ../../src/dnscap -r dns.pcap-dist -g -P "$plugin" -k "some 16-byte key" -i "some 16-byte key" -a "some 16-byte key" -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 "some 16-byte key" -i "some 16-byte key" -a "some 16-byte key" -e 2>>test1.out
+../../src/dnscap -r edns.pcap-dist -g -P "$plugin" -k "some 16-byte key" -i "some 16-byte key" -a "some 16-byte key" -E 2>>test1.out
+
osrel=`uname -s`
if [ "$osrel" = "OpenBSD" ]; then
mv test1.out test1.out.old