]> git.marmaro.de Git - mmh/blobdiff - test/tests/mhparam/test-mhparam
Adjust the tests to less tolerant m_getfld2()
[mmh] / test / tests / mhparam / test-mhparam
index c2fc5deccb4a25bec2e4d53fe8f9cc2f3c69fbd5..7f21be3a5a94277d44ecd934684fb06a7c9d6e8e 100755 (executable)
@@ -120,10 +120,22 @@ runandcheck "mhparam -debug >/dev/null; echo \$?" <<!
 0
 !
 
 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
 # check with text file that does not end with newline
+# in mmh this is invalid
 printf 'Editor: emacs' >>"$MMHP"
 runandcheck 'mhparam -nocomponent editor' <<!
 printf 'Editor: emacs' >>"$MMHP"
 runandcheck 'mhparam -nocomponent editor' <<!
-emacs
+mhparam: `cat test-temp-dir`/.mmh/profile2 is poorly formatted
 !
 
 
 !