]> diplodocus.org Git - nmh/blobdiff - test/mhshow/test-charset
Turns out those warnings for ali(1) actually happen when the prefix is
[nmh] / test / mhshow / test-charset
index 960af7184d178183543332d0a9a7c2c2a2193f7d..e0a0b6e83440a46c51e213872a3f6e08bbf1c375 100755 (executable)
@@ -16,8 +16,11 @@ fi
 
 setup_test
 
+require_locale en_US.utf-8 en_US.utf8
 LC_ALL=en_US.UTF-8; export LC_ALL
 
+test "$ICONV_ENABLED" -eq 0  &&  text_size=10  || text_size=11
+
 expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
 
@@ -48,7 +51,7 @@ Subject: test
 MIME-Version: 1.0
 Content-Description: bogus quoted-printable data
 
-[ part  - text/plain - bogus quoted-printable data  11B  ]
+[ part  - text/plain - bogus quoted-printable data  ${text_size}B  ]
 This is a test
 EOF