From 4b1450820a2a2c54f9c5265b094a023ba80bd834 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 25 Nov 2014 22:12:42 +0000 Subject: [PATCH] Testsuite: "echo -n" portability - use printf(1) if possible --- test/confs/0191 | 3 ++- 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: 250 Recipient OK DATA 354 Send message -Line without end +Line-without-end . 250 OK QUIT -- 2.25.1