summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-11-25 22:12:42 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2014-11-25 22:12:42 +0000
commit4b1450820a2a2c54f9c5265b094a023ba80bd834 (patch)
treeb23458dcaf8a14edb08c6f414eddce5058fca287
parentfc6b96fae1afd051f9d34fa3e86169be4e05e5b2 (diff)
Testsuite: "echo -n" portability - use printf(1) if possible
-rw-r--r--test/confs/01913
-rw-r--r--test/stdout/01912
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