X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/646bb79c8d61e0df67e3ccec76c7a9539155a6fb..e7929465963035b8285dfc75519da61d5774388d:/test/mhfixmsg/test-mhfixmsg diff --git a/test/mhfixmsg/test-mhfixmsg b/test/mhfixmsg/test-mhfixmsg index d3516175..b3c00090 100755 --- a/test/mhfixmsg/test-mhfixmsg +++ b/test/mhfixmsg/test-mhfixmsg @@ -14,14 +14,15 @@ fi . "${srcdir}/test/post/test-post-common.sh" +#### Make sure that html-to-text conversion is what we expect. +require_locale en_US.utf-8 en_US.utf8 +LC_ALL=en_US.UTF-8; export LC_ALL + expected="$MH_TEST_DIR/test-mhfixmsg$$.expected" expected_err="$MH_TEST_DIR/test-mhfixmsg$$.expected_err" actual="$MH_TEST_DIR/test-mhfixmsg$$.actual" actual_err="$MH_TEST_DIR/test-mhfixmsg$$.actual_err" -#### Make sure that html-to-text conversion is what we expect. -LC_ALL=en_US.UTF-8; export LC_ALL - if grep mhfixmsg-format-text/html "${MH_TEST_DIR}/Mail/mhn.defaults" \ >/dev/null; then can_reformat_texthtml=1 @@ -56,6 +57,7 @@ Usage: mhfixmsg [+folder] [msgs] [switches] -outfile file -rmmproc program -normmproc + -[no]changecur -[no]verbose -version -help @@ -770,7 +772,7 @@ fi cat >"$expected" <