diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2020-10-05 08:59:25 +0200 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2020-10-05 10:34:45 +0200 |
commit | d0de84b2d250e2f066286db3a3f5400a0f931b67 (patch) | |
tree | cf6fa33a6feac7cd60166010d1ab64af8b8e6419 /test/scripts/0000-Basic | |
parent | 78fb059f567b933e3e8c1898f6f51b1e6c3b5396 (diff) |
Testsuite: Allow input lines starting with ":<cmd>:", like ":sleep:".
This somehow mimics the behaviour of the client tool, but works for
*any* input line that is sent to the application. This reverts the
unfortunate take abusing the client's special notation '>>> '.
Currently implemented:
- :eval:
- :neol:
- :sleep:
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r-- | test/scripts/0000-Basic/0100 | 6 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0101 | 6 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0242 | 4 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0900 | 2 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0901 | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/test/scripts/0000-Basic/0100 b/test/scripts/0000-Basic/0100 index e31e9809d..7abf09143 100644 --- a/test/scripts/0000-Basic/0100 +++ b/test/scripts/0000-Basic/0100 @@ -78,7 +78,7 @@ exim -odi userx@test.ex <test-data **** exim -odi userx@test.ex Last line ending without a newline and with a partial match: ->>> From +:noeol:From **** exim -odi filter-userx@test.ex Test message @@ -91,11 +91,11 @@ From: is how headers start **** exim -odi filter-userx@test.ex Last line ending without a newline and with a partial match: ->>> From +:noeol:From **** exim -odi userx@test.ex Last line ending without a newline and being a single dot: ->>> . +:noeol:. **** exim -odi mmdf-userx@test.ex Line consisting of four ^A characters diff --git a/test/scripts/0000-Basic/0101 b/test/scripts/0000-Basic/0101 index 512a60ea8..c3143eed7 100644 --- a/test/scripts/0000-Basic/0101 +++ b/test/scripts/0000-Basic/0101 @@ -61,7 +61,7 @@ exim -odi userx@test.ex <test-data **** exim -odi userx@test.ex Last line ending without a newline and with a partial match: ->>> From +:noeol:From **** exim -odi filter-userx@test.ex Test message @@ -74,11 +74,11 @@ From: is how headers start **** exim -odi filter-userx@test.ex Last line ending without a newline and with a partial match: ->>> From +:noeol:From **** exim -odi userx@test.ex Last line ending without a newline and being a single dot: ->>> . +:noeol:. **** exim -odi mmdf-userx@test.ex Line consisting of four ^A characters diff --git a/test/scripts/0000-Basic/0242 b/test/scripts/0000-Basic/0242 index 995f5cc13..785e8e8a6 100644 --- a/test/scripts/0000-Basic/0242 +++ b/test/scripts/0000-Basic/0242 @@ -17,7 +17,7 @@ QUIT 250 OK **** exim -odi abc@x.y.z ->>> Test message +:noeol:Test message **** server PORT_S 220 Server ready @@ -35,5 +35,5 @@ QUIT 250 OK **** exim -odi abc@x.y.z ->>> Subject: Test message +:noeol:Subject: Test message **** diff --git a/test/scripts/0000-Basic/0900 b/test/scripts/0000-Basic/0900 index af7840470..4503ae0c0 100644 --- a/test/scripts/0000-Basic/0900 +++ b/test/scripts/0000-Basic/0900 @@ -231,7 +231,7 @@ mail from:someone@some.domain rcpt to:CALLER@test.ex ??? 250 bdat 87 last -\>>> To: Susan@random.com\n +>>> To: Susan@random.com\n From: Sam@random.com Subject: This is a Bodyless test message diff --git a/test/scripts/0000-Basic/0901 b/test/scripts/0000-Basic/0901 index 10c582a17..f5a6fff9a 100644 --- a/test/scripts/0000-Basic/0901 +++ b/test/scripts/0000-Basic/0901 @@ -58,7 +58,7 @@ mail from:someone3@some.domain rcpt to:CALLER@test.ex ??? 250 bdat 10 -\>>> To: Susan@ +>>> To: Susan@ ??? 250 bdat 78 last random.com @@ -103,7 +103,7 @@ mail from:someone3A@some.domain rcpt to:CALLER@test.ex ??? 250 bdat 10 -\>>> To: Susan@ +>>> To: Susan@ ??? 250 bdat 78 last random.com |