Fix tests/mhparam/test-mhparam
[mmh] / test / tests / mhparam / test-mhparam
index c2fc5de..4b95500 100755 (executable)
@@ -120,11 +120,26 @@ runandcheck "mhparam -debug >/dev/null; echo \$?" <<!
 0
 !
 
+# check with folded header
+cat >>"$MMHP" <<!
+Alternate-Mailboxes: alice@example.org,
+  bob@example.net,
+       charly@example.comp
+!
+runandcheck 'mhparam alternate-mailboxes' <<!
+alice@example.org,   bob@example.net,  charly@example.comp
+!
+
+
 # check with text file that does not end with newline
+# in mmh this is invalid
 printf 'Editor: emacs' >>"$MMHP"
+export VISUAL=ed
 runandcheck 'mhparam -nocomponent editor' <<!
-emacs
+mhparam: `cat test-temp-dir`/.mmh/profile2 is poorly formatted
+$VISUAL
 !
+unset VISUAL
 
 
 exit