X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0624c394bb13754a4a8ffebce56670680dcf3557..e6917522a770cf2dba9997ca047977bc55fac061:/test/mhbuild/test-attach diff --git a/test/mhbuild/test-attach b/test/mhbuild/test-attach index c18f8b3a..6d5a5945 100755 --- a/test/mhbuild/test-attach +++ b/test/mhbuild/test-attach @@ -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 -This is some HTML t=C3=ABxt. +This is some HTML tëxt. @@ -268,4 +271,6 @@ EOF check "$draft" "$expected" +[ ${failed:=0} -eq 0 ] && rm -f ${backup} + exit ${failed:-0}