]> diplodocus.org Git - nmh/blobdiff - test/mhbuild/test-cte
test/mhbuild/test-cte: Add missing check() for earlier run_prog().
[nmh] / test / mhbuild / test-cte
index b63f1998f1368648d24380ea231707305f105658..bbebb028f03a296bba5ec9371f9642d163ca6903 100755 (executable)
@@ -16,8 +16,7 @@ setup_test
 
 set -e
 
-require_locale en_US.utf8
-LC_ALL=en_US.UTF-8; export LC_ALL
+require_locale en_US.UTF-8 en_US.UTF8 en_US.utf-8 en_US.utf8
 
 draft="$MH_TEST_DIR/$$.draft"
 backup="${MH_TEST_DIR}/`mhparam sbackup`$$.draft.orig"
@@ -49,6 +48,8 @@ Content-Transfer-Encoding: quoted-printable
 This is a test of a message with a sh=C3=B8rt line.
 EOF
 
+check "$draft" "$expected"
+
 #
 # Force some text to be base64, to test out the encoder.  Try at different
 # line lengths to check out the padding on the routines to convert LF to