add snifftest script check to make check
This commit is contained in:
9
scripts/include.am
Normal file
9
scripts/include.am
Normal file
@@ -0,0 +1,9 @@
|
||||
# vim:ft=automake
|
||||
# included from Top Level Makefile.am
|
||||
# All paths should be given relative to the root
|
||||
|
||||
|
||||
if BUILD_SNIFFTEST
|
||||
dist_noinst_SCRIPTS+= scripts/sniffer-testsuite.test
|
||||
endif
|
||||
EXTRA_DIST += scripts/testsuite.pcap
|
||||
13
scripts/sniffer-testsuite.test
Executable file
13
scripts/sniffer-testsuite.test
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
#sniffer-testsuite.test
|
||||
|
||||
echo -e "\nStaring snifftest on testsuite.pcap...\n"
|
||||
./sslSniffer/sslSnifferTest/snifftest ./scripts/testsuite.pcap ./certs/server-key.pem 127.0.0.1 11111
|
||||
|
||||
RESULT=$?
|
||||
[ $RESULT -ne 0 ] && echo -e "\nsnifftest failed\n" && exit 1
|
||||
|
||||
echo -e "\nSuccess!\n"
|
||||
|
||||
exit 0
|
||||
BIN
scripts/testsuite.pcap
Normal file
BIN
scripts/testsuite.pcap
Normal file
Binary file not shown.
Reference in New Issue
Block a user