summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2020-10-03 19:43:48 +0200
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2020-10-04 11:20:55 +0200
commit0dfff3282dcfbee8f1568797c2acd4983674c0d9 (patch)
tree12a6576a0e7270ed4956f3971162c514c21d96b6 /test/scripts/0000-Basic
parent8e2fe7340c5d6abf952c45bc6b96462b8e809b94 (diff)
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).
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r--test/scripts/0000-Basic/01006
-rw-r--r--test/scripts/0000-Basic/01016
-rw-r--r--test/scripts/0000-Basic/02424
-rw-r--r--test/scripts/0000-Basic/09002
-rw-r--r--test/scripts/0000-Basic/09014
5 files changed, 11 insertions, 11 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
****
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