projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust the tests to less tolerant m_getfld2()
[mmh]
/
test
/
tests
/
mhparam
/
test-mhparam
diff --git
a/test/tests/mhparam/test-mhparam
b/test/tests/mhparam/test-mhparam
index
c2fc5de
..
7f21be3
100755
(executable)
--- a/
test/tests/mhparam/test-mhparam
+++ b/
test/tests/mhparam/test-mhparam
@@
-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
!
!