From 4b4a0e99e3329ce10b2bf1bbaae91836a4a20e3d Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 10 Nov 2015 19:01:58 +0000 Subject: Testsuite: reorder for dependencies; rename TPDA to events --- test/scripts/5700-events/5700 | 94 +++++++++++++++++++++++++++++++++++++++ test/scripts/5700-events/REQUIRES | 1 + 2 files changed, 95 insertions(+) create mode 100644 test/scripts/5700-events/5700 create mode 100644 test/scripts/5700-events/REQUIRES (limited to 'test/scripts/5700-events') diff --git a/test/scripts/5700-events/5700 b/test/scripts/5700-events/5700 new file mode 100644 index 000000000..f7cd8272c --- /dev/null +++ b/test/scripts/5700-events/5700 @@ -0,0 +1,94 @@ +# Arbitrary expansion after transport +# (EXPERIMENTAL_TPDA) +# +need_ipv4 +# +exim -odq userx@domain1 +A deliverable message +**** +server PORT_S +220 ESMTP +EHLO +250-OK +250 HELP +MAIL +250 OK +RCPT +250 OK +DATA +354 More... +. +250 OK +QUIT +220 OK +**** +exim -qqf +**** +# +# +# +# +exim -odq userx@domain2 +A deliverable message which will hit a coding error in the config +**** +server PORT_S +220 ESMTP +EHLO +250-OK +250 HELP +MAIL +250 OK +RCPT +250 OK +DATA +354 More... +. +250 OK +QUIT +220 OK +**** +exim -qqf +**** +# +# +# +server PORT_S +220 ESMTP +EHLO +*sleep 4 +**** +exim -odi userx@domain1 +A message which will hit a timeout at the destination server +. +**** +# +# +# +# +# +exim -odq userx@domain1 +A message which will get refused +**** +server PORT_S +220 ESMTP +EHLO +250-OK +250 HELP +MAIL +250 OK +RCPT +550 GO AWAY +QUIT +220 OK +**** +exim -qqf +**** +# +# +# +# +exim -odq userx@domain1 +A message we will cancel from the queue +**** +exim -odi -Mg $msg1 +**** diff --git a/test/scripts/5700-events/REQUIRES b/test/scripts/5700-events/REQUIRES new file mode 100644 index 000000000..33cd625a3 --- /dev/null +++ b/test/scripts/5700-events/REQUIRES @@ -0,0 +1 @@ +support Experimental_Event -- cgit v1.2.3