From: Bruno Haible Date: Sat, 27 Oct 2007 19:35:29 +0000 (+0000) Subject: Avoid test failures on systems where gawk-3.1.5 is installed. X-Git-Tag: v0.17~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da1656ad9fca72181168b41afac5c12477ffada0;p=thirdparty%2Fgettext.git Avoid test failures on systems where gawk-3.1.5 is installed. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 19b1edc7b..46282064f 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,7 @@ +2007-10-27 Bruno Haible + + * lang-gawk: Skip the test if the gawk version is 3.1.5. + 2007-10-20 Bruno Haible * msgmerge-22: New file. diff --git a/gettext-tools/tests/lang-gawk b/gettext-tools/tests/lang-gawk index b464c2629..0b4189478 100755 --- a/gettext-tools/tests/lang-gawk +++ b/gettext-tools/tests/lang-gawk @@ -91,11 +91,11 @@ test -d fr/LC_MESSAGES || mkdir fr/LC_MESSAGES : ${MSGFMT=msgfmt} ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po -# Test for presence of gawk version 3.1.3 or newer. +# Test for presence of gawk version 3.1.3 or newer, excluding version 3.1.5. (gawk --version) >/dev/null 2>/dev/null \ || { echo "Skipping test: gawk not found"; rm -fr $tmpfiles; exit 77; } case `gawk --version 2>&1 | sed -e 's/^[^0-9]*//'` in - 0.* | 1.* | 2.* | 3.0* | 3.1.0* | 3.1.1* | 3.1.2*) + 0.* | 1.* | 2.* | 3.0* | 3.1.0* | 3.1.1* | 3.1.2* | 3.1.5*) echo "Skipping test: gawk version too old"; rm -fr $tmpfiles; exit 77;; esac