From: Heiko Schlittermann (HS12-RIPE) Date: Sat, 3 Oct 2020 18:00:21 +0000 (+0200) Subject: Revert "Testsuite: Provide '>>> ' for script input to allow binary data" X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/63fd4a5b7fa03459316d5844474a37b9b7256619 Revert "Testsuite: Provide '>>> ' for script input to allow binary data" This reverts commit f7ec095232186edba2b7137594bfdd7d7b7f9504. --- diff --git a/test/README b/test/README index 34f09ff08..d944b29ac 100644 --- a/test/README +++ b/test/README @@ -862,12 +862,6 @@ The remaining commands are followed by data lines for their standard input, terminated by four asterisks. Even if no data is required for the particular usage, the asterisks must be given. -If the input line starts with '>>> ', this prefix and any trailing spaces -(including line feed) are removed. The reminder is processed with Perl's string -eval() function, effectivly evaluatiing escape sequences like '\x41', '\r', and -such. If you need a line feed there, you need to encode it according to your -needs. - background @@ -882,6 +876,7 @@ except that the data it generates is copied to the end of the test-stdout file as well as to the named file. + client [] [] This command runs the auxiliary "client" program that simulates an SMTP client. diff --git a/test/runtest b/test/runtest index 9621e276e..4972aedd8 100755 --- a/test/runtest +++ b/test/runtest @@ -2766,9 +2766,8 @@ else { tests_exit(-1, "Command unrecognized in line $lineno: $_"); } # Run the command, with stdin connected to a pipe, and write the stdin data -# to it, with appropriate substitutions. If a starts with '>>> ', process it -# via Perl's string eval(). -# If the command contains +# to it, with appropriate substitutions. If a line ends with \NONL\, chop off +# the terminating newline (and the \NONL\). If the command contains # -DSERVER=server add "-server" to the command, where it will adjoin the name # for the stderr file. See comment above about the use of -DSERVER. @@ -2782,8 +2781,7 @@ while (