X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/513587ec31160434400bb003d7160777e2db6bb6..c2a69f6b1ae454f3bbcc645020bb2408e9d46612:/test/mhfixmsg/test-mhfixmsg diff --git a/test/mhfixmsg/test-mhfixmsg b/test/mhfixmsg/test-mhfixmsg index 77de37da..61821c27 100755 --- a/test/mhfixmsg/test-mhfixmsg +++ b/test/mhfixmsg/test-mhfixmsg @@ -1346,13 +1346,13 @@ Content-Transfer-Encoding: 8bit This is the text/plain part. ------- =_aaaaaaaaaa0 -Content-Type: text/plain; charset="iso-8859-1"; name="test2.txt" +Content-Type: text/html; charset="iso-8859-1"; name="test2.txt" Content-Disposition: attachment; filename="test2.txt" Content-Transfer-Encoding: 8bit - This is the text/html part. + This was the text/html part. @@ -1376,16 +1376,16 @@ Content-Transfer-Encoding: quoted-printable This is the text/plain part. ------- =_aaaaaaaaaa0 -Content-Type: text/plain; charset="iso-8859-1"; name="test2.txt" +Content-Type: text/html; charset="iso-8859-1"; name="test2.txt" Content-Disposition: attachment; filename="test2.txt" Content-Transfer-Encoding: base64 -PGh0bWw+CjxoZWFkPgogICAgVGhpcyBpcyB0aGUgdGV4dC9odG1sIHBhcnQuCjwvaGVhZD4KPC9i -b2R5Pgo8L2h0bWw+Cg== +PGh0bWw+CjxoZWFkPgogICAgVGhpcyB3YXMgdGhlIHRleHQvaHRtbCBwYXJ0Lgo8L2hlYWQ+Cjwv +Ym9keT4KPC9odG1sPgo= ------- =_aaaaaaaaaa0-- EOF -run_prog mhfixmsg last -outfile "$actual" +run_prog mhfixmsg last -outfile "$actual" -noreformat check "$expected" "$actual" @@ -1406,15 +1406,32 @@ Content-Transfer-Encoding: 8bit This is the text/plain part. ------- =_aaaaaaaaaa0 -Content-Type: multipart/alternative; boundary="----=_nmh-multipart2" +Content-Type: text/html; charset="iso-8859-1"; name="test2.txt" +Content-Disposition: attachment; filename="test2.txt" +Content-Transfer-Encoding: base64 -------=_nmh-multipart2 -Content-Type: text/plain; charset="iso-8859-1"; name="test2.txt" -Content-Transfer-Encoding: 8bit +PGh0bWw+DQo8aGVhZD4NCiAgICBUaGlzIGlzIHRoZSB0ZXh0L2h0bWwgcGFydC4NCjwvaGVhZD4N +CjwvYm9keT4NCjwvaHRtbD4NCg== + +------- =_aaaaaaaaaa0-- +EOF -This is the text/html part. +cat >`mhpath new` <$expected <`mhpath new` <$expected <`mhpath new` <