summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-10-03 20:59:15 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-10-04 00:14:30 +0100
commit6a9cf7f890226aa085842cd3d94b13e78ea31637 (patch)
treea342beb35a47209193ca7506b7a76d087dba1aa7 /test/runtest
parentdcc5e2cbb4a253eea54c12320e54fb5d85d64e5f (diff)
TLS: preload configuration items
Diffstat (limited to 'test/runtest')
-rwxr-xr-xtest/runtest26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/runtest b/test/runtest
index 4972aedd8..f61b016f9 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1067,6 +1067,24 @@ RESET_AFTER_EXTRA_LINE_READ:
# this is timing-dependent
next if /^OpenSSL: creating STEK$/;
+ # only OpenSSL speaks of these
+ next if /^TLS: preloading DH params for server/;
+ next if /^Diffie-Hellman initialized from default/;
+ next if /^TLS: preloading ECDH curve for server/;
+ next if /^ECDH OpenSSL [\d.+]+ temp key parameter settings: default selection$/;
+ next if /^watch dir '\/etc\/pki\/tls'$/;
+
+ # only GnuTLS speaks of these
+ next if /^GnuTLS global init required$/;
+ next if /^TLS: basic cred init, server/;
+ next if /^TLS: preloading cipher list for server: NULL$/;
+ s/^GnuTLS using default session cipher\/priority "NORMAL"$/TLS: not preloading cipher list for server/;
+ next if /^GnuTLS<2>: added \d+ protocols, \d+ ciphersuites, \d+ sig algos and \d+ groups into priority list$/;
+
+ # there happen in different orders for OpenSSL/GnuTLS/noTLS
+ next if /^TLS: not preloading (CA bundle|cipher list) for server$/;
+ next if /^TLS: not preloading server certs$/;
+
# drop lookups
next if /^Lookups \(built-in\):/;
next if /^Loading lookup modules from/;
@@ -1275,6 +1293,14 @@ RESET_AFTER_EXTRA_LINE_READ:
next if /^date:\w+,\{SP\}/;
next if /^DKIM \[[^[]+\] (Header hash|b) computed:/;
+ # Timing variable over runs. Collapse repeated memssages.
+ if (/notify triggered queue run/)
+ {
+ my $line = $_;
+ while (/notify triggered queue run/) { $_ = <IN>; }
+ $_ = $line . $_;
+ }
+
# Not all platforms support TCP Fast Open, and the compile omits the check
if (s/\S+ in hosts_try_fastopen\? (no \(option unset\)|no \(end of list\)|yes \(matched "\*"\))\n$//)
{