]> diplodocus.org Git - nmh/blobdiff - test/mhbuild/test-header-encode
Replaced use of ! with || true, for ultimate Bourne shell compatiblity.
[nmh] / test / mhbuild / test-header-encode
index e4883b5ab929ffcb368ea3090e52301ffa13faaa..8c2564b98a9ad8286b1bbf38aebcc65ee6cf1204 100755 (executable)
@@ -15,14 +15,16 @@ fi
 . "${MH_OBJ_DIR}/test/common.sh"
 
 setup_test
+
+mhbuild -h >/dev/null 2>&1 || true  # gcov
+
 testname="${MH_TEST_DIR}/$$"
 backupname="${MH_TEST_DIR}/`mhparam sbackup`$$"
 
 #
 # We're going to hardcode UTF-8 for this test.
 #
-
-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
 
 #
 # Basic test of encoding a short subject