diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-06-19 19:11:43 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-06-19 19:18:07 +0100 |
commit | 927a335fbd3d51e29a216efd034b61f0a169f6aa (patch) | |
tree | b73bbe08477dd39fab05f60c1dccef1e5183657b /test/scripts/5894-Resume-OpenSSL-TLS1.3 | |
parent | 360dccf0892b75ebbfcd5363c1c70a35f80ad337 (diff) |
Testsuite: split out OpenSSL TLS1.3 resume tests
Older library versions do not support 1.3 so a separate numbered
testcase is needed
Diffstat (limited to 'test/scripts/5894-Resume-OpenSSL-TLS1.3')
-rw-r--r-- | test/scripts/5894-Resume-OpenSSL-TLS1.3/5894 | 28 | ||||
-rw-r--r-- | test/scripts/5894-Resume-OpenSSL-TLS1.3/REQUIRES | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/test/scripts/5894-Resume-OpenSSL-TLS1.3/5894 b/test/scripts/5894-Resume-OpenSSL-TLS1.3/5894 new file mode 100644 index 000000000..722bc9b08 --- /dev/null +++ b/test/scripts/5894-Resume-OpenSSL-TLS1.3/5894 @@ -0,0 +1,28 @@ +# TLSv1.3 session resumption +# +### TLS1.3 +exim -DSERVER=server -bd -oX PORT_D +**** +exim -DVALUE=resume -odf getticket@test.ex +Test message. Contains FF: ÿ +**** +exim -DVALUE=resume -odf resume@test.ex abcd@test.ex xyz@test.ex +Test message to two different hosts, one does not support resume +**** +# allow time for ticket to hit renewal time +sleep 3 +exim -DVALUE=resume -odf renewal@test.ex +Test message. +**** +exim -DVALUE=resume -odf postrenewal@test.ex +Test message. +**** +sleep 3 +exim -DVALUE=resume -odf timeout@test.ex +Test message. +**** +exim -odf notreq@test.ex +Test message, not requesting resumption. +**** +killdaemon +no_msglog_check diff --git a/test/scripts/5894-Resume-OpenSSL-TLS1.3/REQUIRES b/test/scripts/5894-Resume-OpenSSL-TLS1.3/REQUIRES new file mode 100644 index 000000000..6b79369fc --- /dev/null +++ b/test/scripts/5894-Resume-OpenSSL-TLS1.3/REQUIRES @@ -0,0 +1,4 @@ +support OpenSSL +running IPv4 +support TLS_resume +feature _OPT_OPENSSL_NO_TLSV1_3_X |