]> diplodocus.org Git - nmh/blobdiff - test/mhshow/test-charset
Sigh. Mention that we have to do both a "git push" and a "git push --tags".
[nmh] / test / mhshow / test-charset
index 83363da86de2f1fd6ca091744f53d073dd0df087..efcab90c9a3afd64fb5ce50f68983d0ba648c154 100755 (executable)
@@ -16,6 +16,10 @@ fi
 
 setup_test
 
+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
 
@@ -44,11 +48,11 @@ Subject: test
 
 MIME-Version: 1.0
 
-part       text/plain                  10
+part       text/plain                  $text_size
 This is a test
 EOF
 
-run_prog mhshow -nopause $msgnum > $actual 2>&1
+run_prog mhshow $msgnum > $actual 2>&1
 check "$expected" "$actual"
 
 exit $failed