X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/01ccb3f07cef6989517ff99252ca00b0e1c1c07c..70c96d95b9ff6e9e03b1cd78f3d6a24cd52a8b4b:/test/post/test-post-fcc?ds=sidebyside 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}