From: David Levine Date: Sat, 7 Jan 2017 23:00:05 +0000 (-0500) Subject: Removed if ! bash-ism. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/60052b95778a065760a437859ee9b8a1cc4e39a9?hp=5b410a0888990f4cddb9c2859d039d09089a8043 Removed if ! bash-ism. --- diff --git a/test/mhshow/test-charset b/test/mhshow/test-charset index fb482482..6c7095ff 100755 --- a/test/mhshow/test-charset +++ b/test/mhshow/test-charset @@ -25,13 +25,12 @@ if test "$ICONV_ENABLED" -eq 0; then text_size=10 else text_size=11 - 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. + #### 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. + printf '\xe4' | iconv -f EBCDIC-US -t UTF-8 >/dev/null 2>&1 && skip_param_value_checks=1 - fi fi expected=$MH_TEST_DIR/$$.expected