Change the sniffer testsuite to do the IPv6 test when the "-6" option is
on the command line.
This commit is contained in:
parent
f025f08315
commit
8ec90339d9
@ -8,11 +8,15 @@ echo -e "\nStaring snifftest on testsuite.pcap...\n"
|
||||
RESULT=$?
|
||||
[ $RESULT -ne 0 ] && echo -e "\nsnifftest failed\n" && exit 1
|
||||
|
||||
|
||||
if test $# -ne 0 && test "x$1" = "x-6";
|
||||
then
|
||||
echo -e "\nStaring snifftest on sniffer-ipv6.pcap...\n"
|
||||
./sslSniffer/sslSnifferTest/snifftest ./scripts/sniffer-ipv6.pcap ./certs/server-key.pem ::1 11111
|
||||
|
||||
RESULT=$?
|
||||
[ $RESULT -ne 0 ] && echo -e "\nsnifftest (ipv6) failed\n" && exit 1
|
||||
fi
|
||||
|
||||
echo -e "\nSuccess!\n"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user