From 927a335fbd3d51e29a216efd034b61f0a169f6aa Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 19 Jun 2021 19:11:43 +0100 Subject: Testsuite: split out OpenSSL TLS1.3 resume tests Older library versions do not support 1.3 so a separate numbered testcase is needed --- test/scripts/5894-Resume-OpenSSL-TLS1.3/5894 | 28 ++++++++++++++++++++++++ test/scripts/5894-Resume-OpenSSL-TLS1.3/REQUIRES | 4 ++++ 2 files changed, 32 insertions(+) create mode 100644 test/scripts/5894-Resume-OpenSSL-TLS1.3/5894 create mode 100644 test/scripts/5894-Resume-OpenSSL-TLS1.3/REQUIRES (limited to 'test/scripts/5894-Resume-OpenSSL-TLS1.3') 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 -- cgit v1.2.3