diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2020-10-03 19:43:48 +0200 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2020-10-03 19:48:09 +0200 |
commit | f7ec095232186edba2b7137594bfdd7d7b7f9504 (patch) | |
tree | 8695d18e6e2fbba21bbd077389869f76af748b2c /test/scripts/0000-Basic | |
parent | f093e580a55ad4d41a3ba70bae265b131b5c3bbb (diff) |
Testsuite: Provide '>>> ' for script input to allow binary data
This mimics the '>>> ' prefix for the test client. Any line prefixed
with '>>> ' will be processed by Perl's string eval().
As '>>> ' is generic and documented, it replaces the
(undocumented) '\NONL\' tag.
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 |
3 files changed, 8 insertions, 8 deletions
diff --git a/test/scripts/0000-Basic/0100 b/test/scripts/0000-Basic/0100 index a8cf6863d..e31e9809d 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\NONL\ +>>> 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\NONL\ +>>> From **** exim -odi userx@test.ex Last line ending without a newline and being a single dot: -.\NONL\ +>>> . **** 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 12f73c0b8..512a60ea8 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\NONL\ +>>> 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\NONL\ +>>> From **** exim -odi userx@test.ex Last line ending without a newline and being a single dot: -.\NONL\ +>>> . **** 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 38e49edae..995f5cc13 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\NONL\ +>>> Test message **** server PORT_S 220 Server ready @@ -35,5 +35,5 @@ QUIT 250 OK **** exim -odi abc@x.y.z -Subject: Test message\NONL\ +>>> Subject: Test message **** |