]> diplodocus.org Git - nmh/blobdiff - test/dist/test-dist
Skip (parts of) tests that require en_US.utf8 locale if it's
[nmh] / test / dist / test-dist
index 19ba6406f9ab5ade8404df5648eaf599b7fd9206..6c3c80b5ec3521057428ed4a4210209475779c99 100755 (executable)
@@ -388,7 +388,8 @@ run_test 'scan +outbox -width 6 2' '   2 '
 # Check that dist encodes headers using RFC-2047 properly
 #
 
-export LC_ALL=en_US.UTF-8
+require_locale en_US.utf8
+LC_ALL=en_US.UTF-8; export LC_ALL
 
 cat >"$expected" <<EOF
 From: Test1 <test1@example.com>