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/README | |
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/README')
-rw-r--r-- | test/README | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/README b/test/README index d944b29ac..34f09ff08 100644 --- a/test/README +++ b/test/README @@ -862,6 +862,12 @@ 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 @@ -876,7 +882,6 @@ except that the data it generates is copied to the end of the test-stdout file as well as to the named file. - client [<options>] <ip address> <port> [<outgoing interface>] This command runs the auxiliary "client" program that simulates an SMTP client. |