projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mhshow: Automatically invoke (one) pager for the whole message, if on TTY.
[mmh]
/
test
/
tests
/
bad-input
/
test-header
diff --git
a/test/tests/bad-input/test-header
b/test/tests/bad-input/test-header
index
4832106
..
8d466ac
100644
(file)
--- a/
test/tests/bad-input/test-header
+++ b/
test/tests/bad-input/test-header
@@
-1,4
+1,9
@@
#!/bin/sh
#!/bin/sh
+######################################################
+#
+# Test bogus headers (no blank line before body).
+#
+######################################################
# TODO: Move to a common file tests can source; need more framework...
failed=0
# TODO: Move to a common file tests can source; need more framework...
failed=0
@@
-64,5
+69,7
@@
This is a multi-part message in MIME format.
I am a stupid spammer.
EOF
I am a stupid spammer.
EOF
-mhshow -nopause $msgnum > $actual 2>&1
+mhshow $msgnum > $actual 2>&1
check
check
+
+exit $failed