X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f29bbf35b2de1893a3e383943f813cbc4f41960b..ae0ecdc14e4fe091c063495971bc6fdd85e4e2f3:/test/post/test-rfc6531 diff --git a/test/post/test-rfc6531 b/test/post/test-rfc6531 index 48d9d155..135d6f28 100755 --- a/test/post/test-rfc6531 +++ b/test/post/test-rfc6531 @@ -16,6 +16,7 @@ fi setup_test mhl="${MH_LIBEXEC_DIR}/mhl" +SMTPUTF8=1; export SMTPUTF8 #### Make sure that html-to-text conversion is what we expect. require_locale en_US.utf-8 en_US.utf8 @@ -66,7 +67,26 @@ Computing Edge 1:6, June 2015, http://www.computer.org/cms/computing-edge/ce-jun15-final.pdf, p. 50. EOF -test_post "${testname}.actual" "${testname}.expected" -eai +test_post "${testname}.actual" "${testname}.expected" + + +start_test "smtp server doesn't support SMTPUTF8" +unset SMTPUTF8 +cat > "${testname}.expected" < "${testname}.expected.err" <"${testname}.err" +set -e +check "${testname}.err" "${testname}.expected.err" finish_test