]> diplodocus.org Git - nmh/blobdiff - test/dist/test-dist
Replaced use of ! with || true, for ultimate Bourne shell compatiblity.
[nmh] / test / dist / test-dist
index dc27ae8..450a7a3 100755 (executable)
@@ -16,6 +16,8 @@ fi
 
 setup_test
 
+dist - >/dev/null 2>&1 || true  # gcov
+
 expected=$MH_TEST_DIR/$$.expected
 expected_err=$MH_TEST_DIR/$$.expected_err
 actual=$MH_TEST_DIR/$$.actual
@@ -389,8 +391,7 @@ run_test 'scan +outbox -width 6 2' '   2  '
 # Check that dist encodes headers using RFC-2047 properly
 #
 
-require_locale en_US.utf-8 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
 
 cat >"$expected" <<EOF
 From: Test1 <test1@example.com>