mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

With this commit, the entire Zeek test suite passes using spicy TLS. Tests that either use a SSLv2 handshake, or DTLS are skipped, as the parser currently does not support either. Similarly, tests that rely on behavior we cannot replicate (baseline, hooks, exact error messages) are passed. Other than that, all the TLS-based tests pass with 100% the exact same baseline results. This necessitated a couple of small tweaks to the spicy file - the testcases uncovered several small problems. This commit also enables cirrus tests for Spicy SSL/TLS.
13 lines
492 B
Text
13 lines
492 B
Text
# This tests a normal SSL connection and the log it outputs.
|
|
|
|
# @TEST-REQUIRES: ! grep -q "#define ENABLE_SPICY_SSL" $BUILD/zeek-config.h
|
|
# @TEST-EXEC: zeek -b -r $TRACES/tls/dtls1_0.pcap %INPUT
|
|
# @TEST-EXEC: btest-diff ssl.log
|
|
# @TEST-EXEC: btest-diff x509.log
|
|
# @TEST-EXEC: zeek -b -r $TRACES/tls/dtls1_2.pcap %INPUT
|
|
# @TEST-EXEC: cp ssl.log ssl1_2.log
|
|
# @TEST-EXEC: cp x509.log x5091_2.log
|
|
# @TEST-EXEC: btest-diff ssl1_2.log
|
|
# @TEST-EXEC: btest-diff x5091_2.log
|
|
|
|
@load base/protocols/ssl
|