]> diplodocus.org Git - nmh/commitdiff
mhshow/test-charset: Use octal, not hex, in printf(1) format string.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 23 Sep 2017 10:40:39 +0000 (11:40 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 23 Sep 2017 10:40:39 +0000 (11:40 +0100)
POSIX's printf(1), and dash(1)'s, does not support hex.  Fixes 792d7e1e.

test/mhshow/test-charset

index 0b381e118b68a9e4cb1042101e5b565a7ffa75c8..5414c9a9248b721f8e6c1fd6a42f2bab9ef11819 100755 (executable)
@@ -29,7 +29,7 @@ else
     #### 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.
     #### 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.
-    printf '\xe4' | iconv -f EBCDIC-US -t UTF-8 >/dev/null 2>&1  ||
+    printf '\0344' | iconv -f EBCDIC-US -t UTF-8 >/dev/null 2>&1  ||
         skip_param_value_checks=1
 fi
 
         skip_param_value_checks=1
 fi