projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the Bcc: code in post so it includes the From: header from the original
[mmh]
/
test
/
bad-input
/
test-header
diff --git
a/test/bad-input/test-header
b/test/bad-input/test-header
index
b45a576
..
9e66296
100755
(executable)
--- a/
test/bad-input/test-header
+++ b/
test/bad-input/test-header
@@
-18,8
+18,8
@@
expected=$MH_TEST_DIR/$$.expected
actual=$MH_TEST_DIR/$$.actual
# Write message with bogus header field (missing blank line, really).
actual=$MH_TEST_DIR/$$.actual
# Write message with bogus header field (missing blank line, really).
-msgfile=$(mhpath new)
-msgnum=$(basename $msgfile)
+msgfile=`mhpath new`
+msgnum=`basename $msgfile`
cat > $msgfile <<EOF
Date: Sun, 18 Dec 2005 00:52:39 +0100
From: foo@example.edu
cat > $msgfile <<EOF
Date: Sun, 18 Dec 2005 00:52:39 +0100
From: foo@example.edu
@@
-34,7
+34,7
@@
EOF
cat > $expected <<EOF
11 12/18 foo@example.edu test<<This is a multi-part message in MIME forma
EOF
cat > $expected <<EOF
11 12/18 foo@example.edu test<<This is a multi-part message in MIME forma
EOF
-scan $msgnum > $actual 2>&1
+scan -width 80 $msgnum > $actual 2>&1
check $expected $actual
# check show (mhl)
check $expected $actual
# check show (mhl)