summaryrefslogtreecommitdiff
path: root/test/scripts/2000-GnuTLS/2034
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-05-21 15:14:15 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-05-21 15:14:15 +0100
commit157a7880a444b89c2c67e4076b697435a7e60f6a (patch)
treeda05ab0b30c793b28be3cf4b9d4746aa2e924e09 /test/scripts/2000-GnuTLS/2034
parentb4b3528b6ffe0a1bd405893052f9ce0788e8d46b (diff)
Testsuite: GnuTLS server TLD startup errors testcase
Diffstat (limited to 'test/scripts/2000-GnuTLS/2034')
-rw-r--r--test/scripts/2000-GnuTLS/203434
1 files changed, 34 insertions, 0 deletions
diff --git a/test/scripts/2000-GnuTLS/2034 b/test/scripts/2000-GnuTLS/2034
new file mode 100644
index 000000000..b03c60d93
--- /dev/null
+++ b/test/scripts/2000-GnuTLS/2034
@@ -0,0 +1,34 @@
+# TLS server: error in TLS session startup
+gnutls
+exim -DSERVER=server -bd -oX PORT_D
+****
+# timeout case
+client 127.0.0.1 PORT_D
+??? 220
+ehlo rhu.barb
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+starttls
+??? 220
++++ 3
+****
+#
+# bad TLS negotiation case
+client 127.0.0.1 PORT_D
+??? 220
+ehlo rhu.barb
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250-
+??? 250
+starttls
+??? 220
+bogus
+****
+killdaemon