From: Bruno Haible Date: Mon, 18 Dec 2006 12:04:14 +0000 (+0000) Subject: Remove unnecessary checks. Add comment about AIX. X-Git-Tag: v0.17~577 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f4d3829ec05caac67dd884041b8e80dce424dfb;p=thirdparty%2Fgettext.git Remove unnecessary checks. Add comment about AIX. --- diff --git a/gettext-tools/tests/recode-sr-latin-2 b/gettext-tools/tests/recode-sr-latin-2 index 539328478..fb4c97050 100755 --- a/gettext-tools/tests/recode-sr-latin-2 +++ b/gettext-tools/tests/recode-sr-latin-2 @@ -4,19 +4,15 @@ # (Apart from UTF-8 and GB18030, EUC-JP is the only common encoding that is # a superset of both ISO-8859-5 and ISO-8859-2.) +# Note: This test fails on AIX 4 because when LC_ALL=ja_JP, +# setlocale (LC_ALL, "") works fine in the test program of locale-ja.m4 but +# fails in the recode-sr-latin program. I don't know why. + tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 # Test whether a specific EUC-JP locale is installed. : ${LOCALE_JA=ja_JP} -#if test $LOCALE_JA != none; then -# LC_ALL=$LOCALE_JA ./testlocale 2>/dev/null -# case $? in -# 0) ;; -# 77) LOCALE_JA=none;; -# *) exit 1;; -# esac -#fi if test $LOCALE_JA = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no japanese EUC-JP locale is installed" @@ -26,16 +22,6 @@ if test $LOCALE_JA = none; then rm -fr $tmpfiles; exit 77 fi -# Test whether locale_charset() in this locale really returns EUC-JP. -# (On some systems, config.charset supports only UTF-8 locales.) -#case "$host_os" in -# darwin[56]*) ;; -# darwin* | beos*) -# echo "Skipping test: no EUC-JP locale is supported" -# rm -fr $tmpfiles; exit 77 -# ;; -#esac - tmpfiles="$tmpfiles rec-srl-2.in" cat <<\EOF > rec-srl-2.in §ª§ã§á§â§Ñ§Ó§ß§Ú §Ñ§â§Ô§å§Þ§Ö§ß§ä§Ú §ã§å