tests: fix spurious failure due to localization issues
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 30 Oct 2013 00:04:51 +0000 (00:04 +0000)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 30 Oct 2013 00:54:24 +0000 (00:54 +0000)
Fixes automake bug#15237.

* t/autohdr-subdir-pr12495.sh: Ensure make is run in the C locale, so that
we can expect error messages in English when grepping its output.
* THANKS, NEWS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NEWS
THANKS
t/autohdr-subdir-pr12495.sh

diff --git a/NEWS b/NEWS
index 54773997bb283041ded084f4912bfe6a27a1e855..03e0e6265eef0cdfbe12336469e17326a719f17a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -118,7 +118,7 @@ New in 1.14.1:
     message on the most common invalid usages.
 
   - Several spurious failures/hangs in the testsuite (bugs #14706, #14707,
-    #14760 and #14911).
+    #14760, #14911, #15237).
 
 * Documentation fixes:
 
diff --git a/THANKS b/THANKS
index a229781c22c05e196121267e639715b0d62a9d00..3adea7e6e9e49163c49fa4fdf7c657d84b9144b4 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -411,6 +411,7 @@ Vasyl Khalak                    basiliomail@gmail.com
 Vincent Lefevre                 vincent@vinc17.org
 Vladimir Serbinenko             phcoder@gmail.com
 Volker Boerchers                vboerchers@tecon.de
+Weiller Ronfini                 weillerronfini@yahoo.com.br
 Werner John                     john@oswf.de
 Werner Koch                     wk@isil.d.shuttle.de
 Werner Lemberg                  wl@gnu.org
index 7e26b46747df96552ddef44c9da4534f1b388d1a..dcb962037bac35813ba4065c3a1c8efd73b6a91d 100644 (file)
@@ -63,6 +63,10 @@ $MAKE
 test -f a.h.in
 test -f a.h
 
+# We might need to grep the output of GNU make for error messages.
+LANG=C LANGUAGE=C LC_ALL=C
+export LANG LANGUAGE LC_ALL
+
 ocwd=$(pwd)
 for x in b c; do
   test $x = b || cd sub