diff options
Diffstat (limited to 'contrib/tcpdump/tests/esp1.sh')
-rw-r--r-- | contrib/tcpdump/tests/esp1.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/tcpdump/tests/esp1.sh b/contrib/tcpdump/tests/esp1.sh new file mode 100644 index 0000000..87ee3b9 --- /dev/null +++ b/contrib/tcpdump/tests/esp1.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +uudecode 02-sunrise-sunset-esp.puu + +echo -n test esp1... +../tcpdump -t -n -E "0x12345678@192.1.2.45 3des-cbc-hmac96:0x4043434545464649494a4a4c4c4f4f515152525454575758" -r 02-sunrise-sunset-esp.pcap >esp1.new +if diff esp1.new esp1.out +then + echo passed. +else + echo failed. +fi + |