X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/be6c398415e30cc3cd1cc9098b2c4399e463b5a4..628b193daced4357675de5127ff8129cf6f81b0f:/test/mhbuild/test-cte?ds=sidebyside diff --git a/test/mhbuild/test-cte b/test/mhbuild/test-cte index 128526a1..517fbc51 100755 --- a/test/mhbuild/test-cte +++ b/test/mhbuild/test-cte @@ -46,7 +46,8 @@ This is a test of a message with a sh=C3=B8rt line. EOF # -# Force some text to be base64 +# Force some text to be base64, to test out the encoder. Try at different +# line lengths to check out the padding on the # cat > "$draft" < "$draft" < +cc: +Fcc: +outbox +------ +# "$expected" < +cc: +Fcc: +outbox +MIME-Version: 1.0 +Content-Type: text/plain; charset="UTF-8" +Content-Transfer-Encoding: base64 + +VGhpcyBpcyBhIHRlc3Qgb2YgYSBtw6tzc2FnZSB3aXRoIGEgc2jDuHJ0IGxpbmUuDQo= +EOF + +check "$draft" "$expected" + exit ${failed:-0}