mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
testing: Add have-spicy-ssl helper and update tests
This commit is contained in:
parent
fc42074c7c
commit
d18045ee16
12 changed files with 18 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
# This tests the certificate_request message parsing
|
||||
|
||||
# Does not work in spicy version, due to missing DTLS support
|
||||
# @TEST-REQUIRES: ! grep -q "#define ENABLE_SPICY_SSL" $BUILD/zeek-config.h
|
||||
# @TEST-REQUIRES: ! have-spicy-ssl
|
||||
|
||||
# @TEST-EXEC: zeek -b -r $TRACES/tls/client-certificate.pcap %INPUT > out
|
||||
# @TEST-EXEC: zeek -C -b -r $TRACES/tls/certificate-request-failed.pcap %INPUT >> out
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# This tests a normal SSL connection and the log it outputs.
|
||||
|
||||
# @TEST-REQUIRES: ! grep -q "#define ENABLE_SPICY_SSL" $BUILD/zeek-config.h # DTLS not supported in Spicy SSL
|
||||
# @TEST-REQUIRES: ! have-spicy-ssl # DTLS not supported in Spicy SSL
|
||||
# @TEST-EXEC: zeek -C -r $TRACES/tls/dtls13-wolfssl.pcap %INPUT
|
||||
# @TEST-EXEC: cp ssl.log ssl-all.log
|
||||
# @TEST-EXEC: echo "start CID test"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# @TEST-REQUIRES: ! grep -q "#define ENABLE_SPICY_SSL" $BUILD/zeek-config.h # DTLS is not supported in Spicy SSL yet
|
||||
# @TEST-REQUIRES: ! have-spicy-ssl # DTLS is not supported in Spicy SSL yet
|
||||
# @TEST-EXEC: zeek -b -r $TRACES/tls/webrtc-stun.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff ssl.log
|
||||
# @TEST-EXEC: touch dpd.log
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# This tests a normal SSL connection and the log it outputs.
|
||||
|
||||
# @TEST-REQUIRES: ! grep -q "#define ENABLE_SPICY_SSL" $BUILD/zeek-config.h # DTLS is not supported in Spicy SSL yet
|
||||
# @TEST-REQUIRES: ! have-spicy-ssl # DTLS is not supported in Spicy SSL yet
|
||||
# @TEST-EXEC: zeek -b -r $TRACES/tls/dtls1_0.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff ssl.log
|
||||
# @TEST-EXEC: btest-diff x509.log
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Does not work in spicy version, due to missing DTLS support
|
||||
# @TEST-REQUIRES: ! grep -q "#define ENABLE_SPICY_SSL" $BUILD/zeek-config.h
|
||||
# @TEST-REQUIRES: ! have-spicy-ssl
|
||||
|
||||
# @TEST-EXEC: zeek -b -r $TRACES/tls/dhe.pcap %INPUT
|
||||
# @TEST-EXEC: cat ssl.log > ssl-all.log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue