diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2014-11-25 22:12:42 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2014-11-25 22:12:42 +0000 |
commit | 4b1450820a2a2c54f9c5265b094a023ba80bd834 (patch) | |
tree | b23458dcaf8a14edb08c6f414eddce5058fca287 | |
parent | fc6b96fae1afd051f9d34fa3e86169be4e05e5b2 (diff) |
Testsuite: "echo -n" portability - use printf(1) if possible
-rw-r--r-- | test/confs/0191 | 3 | ||||
-rw-r--r-- | test/stdout/0191 | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/confs/0191 b/test/confs/0191 index 1cbe7eb2c..410d2bf09 100644 --- a/test/confs/0191 +++ b/test/confs/0191 @@ -34,7 +34,8 @@ smtp: driver = smtp port = PORT_S transport_filter = \ - /bin/sh -c "cat >/dev/null; /bin/echo -n Line without end" + /bin/sh -c \ + "cat >/dev/null; printf Line-without-end || /bin/echo -n Line-without-end" # End diff --git a/test/stdout/0191 b/test/stdout/0191 index 59474cfad..1417996b9 100644 --- a/test/stdout/0191 +++ b/test/stdout/0191 @@ -12,7 +12,7 @@ RCPT TO:<userx@domain1> 250 Recipient OK DATA 354 Send message -Line without end +Line-without-end . 250 OK QUIT |