summaryrefslogtreecommitdiff
path: root/test/scripts/2000-GnuTLS
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-07-20 15:25:23 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-07-20 16:13:55 +0100
commit5f5708ef4a2dfb3517de853b90b23ff4cc66a3c0 (patch)
tree2764acad03981d6c2930653200c1421d2532c5e5 /test/scripts/2000-GnuTLS
parent49692970941920d8108ce775d483ec1c245222f0 (diff)
Testsuite: synch log output
Diffstat (limited to 'test/scripts/2000-GnuTLS')
-rw-r--r--test/scripts/2000-GnuTLS/200229
1 files changed, 22 insertions, 7 deletions
diff --git a/test/scripts/2000-GnuTLS/2002 b/test/scripts/2000-GnuTLS/2002
index 1cfc293d5..c96ffa1b9 100644
--- a/test/scripts/2000-GnuTLS/2002
+++ b/test/scripts/2000-GnuTLS/2002
@@ -59,19 +59,29 @@ This is a test encrypted message.
quit
??? 221
****
-# Server asks for a client cert (?but client does not supply one?)
+#
+# Server asks for a client cert but client does not supply one
client-gnutls -p NONE:+SIGN-RSA-SHA256:+SIGN-ECDSA-SHA512:+VERS-TLS1.2:+ECDHE-RSA:+DHE-RSA:+RSA:+CIPHER-ALL:+MAC-ALL:+COMP-NULL:+CURVE-ALL:+CTYPE-X509 HOSTIPV4 PORT_D
??? 220
ehlo rhu.barb
??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250-
-??? 250
+??? 250-SIZE
+??? 250-8BITMIME
+??? 250-PIPELINING
+??? 250-STARTTLS
+??? 250 HELP
starttls
-??? 220
+??? 220 TLS go ahead
+nop
+???*
****
+# ensure sequence of log TLS error line
+killdaemon
+sleep 1
+exim -DSERVER=server -bd -oX PORT_D
+****
+#
+#
# Server asks for a client cert, and one is given which is verifiable by the server
client-gnutls -p NONE:+SIGN-RSA-SHA256:+SIGN-ECDSA-SHA512:+VERS-TLS1.2:+ECDHE-RSA:+DHE-RSA:+RSA:+CIPHER-ALL:+MAC-ALL:+COMP-NULL:+CURVE-ALL:+CTYPE-X509 HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.pem DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.unlocked.key
??? 220
@@ -155,8 +165,13 @@ quit
??? 221
****
killdaemon
+sleep 1
+# clear out the queue
exim -qf
****
+sleep 1
+#
+# STARTTLS used when not advertised
exim -bh 10.0.0.1
starttls
quit