X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/71458b3b2492943349f7693a46792756d5013c69..646bb79c8d61e0df67e3ccec76c7a9539155a6fb:/test/mhbuild/test-attach diff --git a/test/mhbuild/test-attach b/test/mhbuild/test-attach index 9f652698..6d5a5945 100755 --- a/test/mhbuild/test-attach +++ b/test/mhbuild/test-attach @@ -17,6 +17,7 @@ setup_test 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}