Testsuite: "echo -n" portability - use printf(1) if possible
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 25 Nov 2014 22:12:42 +0000 (22:12 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 25 Nov 2014 22:12:42 +0000 (22:12 +0000)
test/confs/0191
test/stdout/0191

index 1cbe7eb..410d2bf 100644 (file)
@@ -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
index 59474cf..1417996 100644 (file)
@@ -12,7 +12,7 @@ RCPT TO:<userx@domain1>
 250 Recipient OK
 DATA
 354 Send message
-Line without end
+Line-without-end
 .
 250 OK
 QUIT