]> diplodocus.org Git - nmh/blobdiff - test/mhbuild/test-utf8-body
With whatnow attach, determine the content MIME type that's inserted
[nmh] / test / mhbuild / test-utf8-body
index 3446153f9a9d8aad490d1c49ab989aa5f2017617..5539489c78feb75bcbcc9ce3e3beae10d6b6d31b 100755 (executable)
@@ -39,7 +39,7 @@ test_attachment ()
   # use, so we'll just use sed to remove the actual date so we can easily
   # compare it against our "correct" output.  And same for charset.
   #
-  sed -e 's/^Date:.*/Date:/' -e 's/; charset=".*//' \
+  sed -e 's/^Date:.*/Date:/' -e 's/; charset="[^;]*//' \
       "`mhpath cur`" > "${testname}.actual"
 
   check "${testname}.actual" "$1"