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 229ee56..caa74cb 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
---------
 !