X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/01ccb3f07cef6989517ff99252ca00b0e1c1c07c..1a2ef2eed6ab723cbf2280c01cb6e1a0500d4001:/test/post/test-post-fcc diff --git a/test/post/test-post-fcc b/test/post/test-post-fcc index 5ade9723..052e3dbf 100755 --- a/test/post/test-post-fcc +++ b/test/post/test-post-fcc @@ -34,6 +34,8 @@ DATA From: Mr Nobody To: Somebody Else Subject: Fcc test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a fcc test @@ -47,17 +49,17 @@ cat > "${testname}.msg.expected" < To: Somebody Else Subject: Fcc test +MIME-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" Date: This is a fcc test EOF -msgname=$(mhpath +inbox 11) +msgname=`mhpath +inbox 11` -sed -i.bak -e 's/^Date:.*/Date:/' "${msgname}" +sed -e 's/^Date:.*/Date:/' "${msgname}" > "${msgname}".nodate -rm -f "${msgname}.bak" - -check "${testname}.msg.expected" "${msgname}" +check "${testname}.msg.expected" "${msgname}".nodate exit ${failed:-0}