]> git.marmaro.de Git - mmh/commitdiff
fix the prompter test
authorPhilipp Takacs <philipp@bureaucracy.de>
Sun, 25 Oct 2015 16:25:16 +0000 (17:25 +0100)
committerPhilipp Takacs <philipp@bureaucracy.de>
Sun, 25 Oct 2015 16:44:18 +0000 (17:44 +0100)
test/tests/prompter/test-prompter

index 229ee5612cbfd9c11fbd1f4b70a80e2270df72f7..caa74cbe0fadae921e37c7728d83216384ccca92 100755 (executable)
@@ -124,9 +124,7 @@ Resent-From: sender@example.com
 Resent-To: recipient@example.com
 Resent-cc: cc@example.com
 Resent-fcc: +outbox
-
 --------Enter initial text
-
 --------
 !
 
@@ -139,9 +137,7 @@ Resent-From: sender@example.com
 Resent-To: recipient@example.com
 Resent-cc: cc@example.com
 Resent-fcc: +outbox
-
 --------Enter initial text
-
 prependage
 message body
 --------
@@ -156,11 +152,19 @@ Resent-From: sender@example.com
 Resent-To: recipient@example.com
 Resent-cc: cc@example.com
 Resent-fcc: +outbox
-
 --------Enter initial text
+prependage
+message body
+--------
+!
 
+runandcheck "cat $MH_TEST_DIR/prompter-file" <<!
+Resent-From: sender@example.com
+Resent-To: recipient@example.com
+Resent-cc: cc@example.com
+Resent-fcc: +outbox
+--------
 woot woot
 prependage
 message body
---------
 !