From: Bruno Haible Date: Sun, 7 Jan 2018 01:33:38 +0000 (+0100) Subject: Avoid a test failure of lang-gawk. X-Git-Tag: v0.20~425 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4e434046121b395e8e96ac3dcb4a8f6113f4fd3;p=thirdparty%2Fgettext.git Avoid a test failure of lang-gawk. It's a bug in gawk 4.2.0, reported at https://lists.gnu.org/archive/html/bug-gawk/2018-01/msg00026.html . * gettext-tools/tests/lang-gawk: Skip the test if gawk's version is 4.2.0. --- diff --git a/gettext-tools/tests/lang-gawk b/gettext-tools/tests/lang-gawk index 33b683178..3f0b2edda 100755 --- a/gettext-tools/tests/lang-gawk +++ b/gettext-tools/tests/lang-gawk @@ -79,11 +79,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, excluding version 3.1.5. +# Test for presence of gawk version 3.1.3 or newer, excluding versions 3.1.5 and 4.2.0. (gawk --version) >/dev/null 2>/dev/null \ || { echo "Skipping test: gawk not found"; 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* | 3.1.5*) + 0.* | 1.* | 2.* | 3.0* | 3.1.0* | 3.1.1* | 3.1.2* | 3.1.5* | 4.2.0*) echo "Skipping test: gawk version too old"; Exit 77;; esac