]> diplodocus.org Git - nmh/blobdiff - test/mhshow/test-textcharset
Skip (parts of) tests that require en_US.utf8 locale if it's
[nmh] / test / mhshow / test-textcharset
index 61522c4eca5af640e0b1fccdf9da49f28f60fae9..f21ea56f1f0559e5a55f67dffbe9ca07821efe28 100755 (executable)
@@ -20,6 +20,7 @@ if test "$ICONV_ENABLED" -eq 0; then
   test_skip 'test-textcharset requires that nmh have been built with iconv'
 fi
 
+require_locale en_US.utf8
 LC_ALL=en_US.UTF-8; export LC_ALL
 
 expected="$MH_TEST_DIR"/$$.expected
@@ -47,7 +48,7 @@ Subject: test display with charset conversion
 
 MIME-Version: 1.0
 
-part       text/plain                  11
+[ part  - text/plain -   11B  ]
 4 รท 2 = 2
 EOF
 
@@ -735,7 +736,7 @@ Subject: check charset conversion of a large file
 
 MIME-Version: 1.0
 
-part       text/plain                 18K
+[ part  - text/plain -   18.9KB  ]
 1.  The Earthquake