]> diplodocus.org Git - nmh/blobdiff - test/mhbuild/test-attach
Remove msh(1).
[nmh] / test / mhbuild / test-attach
index c18f8b3a240e1e8a0bee06961c22ffc022df2a30..6d5a59452bea4693c5632bbb14ba180e774daee5 100755 (executable)
@@ -14,9 +14,10 @@ fi
 
 setup_test
 
-export LC_ALL=en_US.UTF-8
+LC_ALL=en_US.UTF-8; export LC_ALL
 
 draft="$MH_TEST_DIR/$$.draft"
+backup="${MH_TEST_DIR}/`mhparam sbackup`$$.draft.orig"
 expected="$MH_TEST_DIR/$$.expected"
 
 #
@@ -233,23 +234,25 @@ Fcc: +outbox
 Subject: A more complete multipart test
 MIME-Version: 1.0
 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
+Content-Transfer-Encoding: 8bit
 
 ------- =_aaaaaaaaaa0
 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa1"
+Content-Transfer-Encoding: 8bit
 
 ------- =_aaaaaaaaaa1
 Content-Type: text/plain; charset="UTF-8"
-Content-Transfer-Encoding: quoted-printable
+Content-Transfer-Encoding: 8bit
 
-This is some t=C3=ABxt.
+This is some tëxt.
 
 ------- =_aaaaaaaaaa1
 Content-Type: text/html; charset="UTF-8"
-Content-Transfer-Encoding: quoted-printable
+Content-Transfer-Encoding: 8bit
 
 <html>
 <body>
-This is some HTML t=C3=ABxt.
+This is some HTML tëxt.
 </body>
 </html>
 
@@ -268,4 +271,6 @@ EOF
 
 check "$draft" "$expected"
 
+[ ${failed:=0} -eq 0 ]  &&  rm -f ${backup}
+
 exit ${failed:-0}