]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid a test failure of lang-gawk.
authorBruno Haible <bruno@clisp.org>
Sun, 7 Jan 2018 01:33:38 +0000 (02:33 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 7 Jan 2018 01:33:38 +0000 (02:33 +0100)
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.

gettext-tools/tests/lang-gawk

index 33b68317865dd6f68cc13eeb8f0702b3dce633a2..3f0b2eddaac740da78f0897fa288b3f12aa6c32a 100755 (executable)
@@ -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