From 0dfff3282dcfbee8f1568797c2acd4983674c0d9 Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Sat, 3 Oct 2020 19:43:48 +0200 Subject: Testsuite: Provide '>>> ' for script input to allow binary data (take 2) This mimics the '>>> ' prefix known 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. The client input lines starting with '>>> ' are now changed to '\>>> ' to avoid evaluation by the runtest script. (Test 4030, 1101). --- test/scripts/0000-Basic/0100 | 6 +++--- test/scripts/0000-Basic/0101 | 6 +++--- test/scripts/0000-Basic/0242 | 4 ++-- test/scripts/0000-Basic/0900 | 2 +- test/scripts/0000-Basic/0901 | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'test/scripts/0000-Basic') 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 >> 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 >> 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 **** diff --git a/test/scripts/0000-Basic/0900 b/test/scripts/0000-Basic/0900 index 4503ae0c0..af7840470 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 f5a6fff9a..10c582a17 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 -- cgit v1.2.3