From: Bruno Haible Date: Thu, 20 Feb 2003 17:52:42 +0000 (+0000) Subject: Avoid a test failure that is only due to gawk. X-Git-Tag: v0.12~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b84cdf7e742124721732ec6206b4d3f7af7fe24e;p=thirdparty%2Fgettext.git Avoid a test failure that is only due to gawk. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 0846c7bbd..8ee04689a 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,8 @@ +2003-02-20 Bruno Haible + + * lang-gawk: Skip the test if gawk was built with --disable-nls. + Reported by Paul Jarc . + 2003-02-18 Bruno Haible * Makefile.am (clean-am): New rule. For Solaris cc. diff --git a/gettext-tools/tests/lang-gawk b/gettext-tools/tests/lang-gawk index 97beef5c3..2914f40bb 100755 --- a/gettext-tools/tests/lang-gawk +++ b/gettext-tools/tests/lang-gawk @@ -89,6 +89,10 @@ case `gawk --version 2>&1 | sed -e 's/^[^0-9]*//'` in echo "SKIP: lang-gawk"; rm -fr $tmpfiles; exit 77;; esac +# Test that gawk wasn't built with --disable-nls. +LANGUAGE= LC_ALL=fr_FR gawk --version | grep logiciel > /dev/null +test $? = 0 || { echo "SKIP: lang-gawk"; rm -fr $tmpfiles; exit 77; } + tmpfiles="$tmpfiles prog.ok prog.out" : ${DIFF=diff} cat <<\EOF > prog.ok