]> diplodocus.org Git - nmh/blobdiff - test/mhshow/test-charset
Rename recently added HasSuffixC() to has_suffix_c().
[nmh] / test / mhshow / test-charset
index d8f176d31d737237a6c66d6bf86f4d86f59ec434..fb482482f7a4d376c1cdaa0cf2d8eddcffcb4422 100755 (executable)
@@ -25,11 +25,11 @@ if test "$ICONV_ENABLED" -eq 0; then
     text_size=10
 else
     text_size=11
-    if ! iconv -l | grep EBCDIC-US >/dev/null; then
-        #### For unknown reasons, the parameter values checks
-        #### fail on the FreeBSD10 buildbot.  It doesn't
-        #### support EBCDIC-US, which is used by the checks,
-        #### so use that to detect whether to skip the check.
+    if ! printf '\xe4' | iconv -f EBCDIC-US -t UTF-8 >/dev/null 2>&1; then
+        #### For unknown reasons, the parameter values checks fail on the
+        #### FreeBSD10 buildbot.  It doesn't support EBCDIC-US, which is used
+        #### by the checks, so check for that.  Though that doesn't seem to be
+        #### the reason.
         skip_param_value_checks=1
     fi
 fi