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 1cbe7eb2c20872e3ec5c22f9962d4afae860dc61..410d2bf09e526856810feee14bed081b6cf441d4 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 59474cfadbcfbeac5d503756b1f3fbb34eab0e84..1417996b9244841d60fa86fda98fa7fbdc22f1f1 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