summaryrefslogtreecommitdiff
path: root/test/scripts/5710-GnuTLS-events
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-01-03 16:08:37 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-01-03 16:38:11 +0000
commitef2e5890df09193717f9d345ffaaa406e2d8aae7 (patch)
treeedc137cccf5d14c4c0b0f2ce34d95de99f18147b /test/scripts/5710-GnuTLS-events
parent299efa252e69a2bbf49cce670afa893663df9610 (diff)
TLS: event for daemon accept fail
Diffstat (limited to 'test/scripts/5710-GnuTLS-events')
-rw-r--r--test/scripts/5710-GnuTLS-events/571124
1 files changed, 24 insertions, 0 deletions
diff --git a/test/scripts/5710-GnuTLS-events/5711 b/test/scripts/5710-GnuTLS-events/5711
new file mode 100644
index 000000000..7c276229d
--- /dev/null
+++ b/test/scripts/5710-GnuTLS-events/5711
@@ -0,0 +1,24 @@
+# smtp-on-connect drop-before-tls-accept
+#
+exim -DSERVER=server -tls-on-connect -bd -oX PORT_D
+****
+#
+# Normal, full connect and quit
+client-anytls -tls-on-connect 127.0.0.1 PORT_D
+??? 220
+quit
+??? 221
+****
+#
+# full connect but no quit
+client-anytls -tls-on-connect 127.0.0.1 PORT_D
+??? 220
+****
+#
+# client disconnects before server TLS accept completes
+client 127.0.0.1 PORT_D
++++ 1
+****
+#
+sleep 1
+killdaemon