X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b2fb9dfa039340fb4776e36cb381d02fffacd608..fa9e8a6283ecb332b5947e13237346a1f40aed37:/test/post/test-post-fcc?ds=sidebyside diff --git a/test/post/test-post-fcc b/test/post/test-post-fcc index b8a94190..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,15 +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 "" -e 's/^Date:.*/Date:/' ${msgname} +sed -e 's/^Date:.*/Date:/' "${msgname}" > "${msgname}".nodate -check "${testname}.msg.expected" ${msgname} +check "${testname}.msg.expected" "${msgname}".nodate exit ${failed:-0}