From ee8b809061baea861fc87c41bcb72a62d76b0047 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 3 Nov 2018 23:13:34 +0000 Subject: Squashed commit of PIPE_CONNECT --- test/scripts/4060-pipe-conn-gnutls/4060 | 71 +++++++++++++++++++++++++++++ test/scripts/4060-pipe-conn-gnutls/4061 | 43 +++++++++++++++++ test/scripts/4060-pipe-conn-gnutls/REQUIRES | 2 + 3 files changed, 116 insertions(+) create mode 100644 test/scripts/4060-pipe-conn-gnutls/4060 create mode 100644 test/scripts/4060-pipe-conn-gnutls/4061 create mode 100644 test/scripts/4060-pipe-conn-gnutls/REQUIRES (limited to 'test/scripts/4060-pipe-conn-gnutls') diff --git a/test/scripts/4060-pipe-conn-gnutls/4060 b/test/scripts/4060-pipe-conn-gnutls/4060 new file mode 100644 index 000000000..b07c5c07d --- /dev/null +++ b/test/scripts/4060-pipe-conn-gnutls/4060 @@ -0,0 +1,71 @@ +# starttls +# +# Not attempted without a cache entry +exim -bd -DSERVER=server -oX PORT_D +**** +# +exim nocache@test.ex +Subject test 1 + +**** +exim -q +**** +exim -DNOTDAEMON -DSERVER=server -q +**** +# +# +# +# Go for it. This one should do early-pipelinng. +exim hascache@test.ex +Subject test 2 + +**** +exim -q +**** +exim -DNOTDAEMON -DSERVER=server -q +**** +# +# +# Check that client doesn't try when not told to, even now there is +# a cache entry +exim clientno@test.ex +Subject test 3 + +**** +exim -DCONTROL=: -q +**** +exim -DNOTDAEMON -DSERVER=server -q +**** +# +# +killdaemon +# +# +# And again with CHUNKING +sudo rm DIR/spool/db/misc +exim -bd -DSERVER=server -DOPT=* -oX PORT_D +**** +# +exim nocache@test.ex +Subject test 4 + +**** +exim -q +**** +exim -DNOTDAEMON -DSERVER=server -q +**** +# +# +# +# Go for it +exim chunking@test.ex +Subject test 5 + +**** +exim -q +**** +exim -DNOTDAEMON -DSERVER=server -q +**** +# +killdaemon +no_msglog_check diff --git a/test/scripts/4060-pipe-conn-gnutls/4061 b/test/scripts/4060-pipe-conn-gnutls/4061 new file mode 100644 index 000000000..e4922b86b --- /dev/null +++ b/test/scripts/4060-pipe-conn-gnutls/4061 @@ -0,0 +1,43 @@ +# tls-on-connect +# +# Not attempted without a cache entry +exim -bd -DSERVER=server -oX PORT_D +**** +# +exim nocache@test.ex +Subject test 1 + +**** +exim -q +**** +exim -DNOTDAEMON -DSERVER=server -q +**** +# +# +# +# Go for it. This one should do early-pipelinng. +exim hascache@test.ex +Subject test 2 + +**** +exim -q +**** +exim -DNOTDAEMON -DSERVER=server -q +**** +# +# +# Check that client doesn't try when not told to, even now there is +# a cache entry +exim clientno@test.ex +Subject test 3 + +**** +exim -DCONTROL=: -q +**** +exim -DNOTDAEMON -DSERVER=server -q +**** +# +# +killdaemon +# +no_msglog_check diff --git a/test/scripts/4060-pipe-conn-gnutls/REQUIRES b/test/scripts/4060-pipe-conn-gnutls/REQUIRES new file mode 100644 index 000000000..36c96e737 --- /dev/null +++ b/test/scripts/4060-pipe-conn-gnutls/REQUIRES @@ -0,0 +1,2 @@ +support Experimental_PIPE_CONNECT +support GnuTLS -- cgit v1.2.3