Subject: Re: bug#15237: Bug -> teste-suíte.log

From: Stefano Lattarini <[email-masked]>
Date: Wed, 30 Oct 2013 00:06:43 +0000

tags 15237 minor
close 15237
stop

Reference:
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15237>

Thanks for the report, and sorry for the delay.  This was a
spurious failure, fixed by the attached patch.

Regards,
  Stefano
>From 739337ae1cf2dd6c582180962c02afcddd421637 Mon Sep 17 00:00:00 2001
Message-Id: <739337ae1[email-masked]>
From: Stefano Lattarini <[email-masked]>
Date: Wed, 30 Oct 2013 00:04:51 +0000
Subject: [PATCH] tests: fix spurious failure due to localization issues

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 <[email-masked]>
---
 NEWS                        | 2 +-
 THANKS                      | 1 +
 t/autohdr-subdir-pr12495.sh | 4 ++++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 2d36e95..43640ed 100644
--- 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 a229781..3adea7e 100644
--- a/THANKS
+++ b/THANKS
@@ -411,6 +411,7 @@ Vasyl Khalak                    [email-masked]
 Vincent Lefevre                 [email-masked]
 Vladimir Serbinenko             [email-masked]
 Volker Boerchers                [email-masked]
+Weiller Ronfini                 [email-masked]
 Werner John                     [email-masked]
 Werner Koch                     [email-masked]
 Werner Lemberg                  [email-masked]
diff --git a/t/autohdr-subdir-pr12495.sh b/t/autohdr-subdir-pr12495.sh
index 7e26b46..dcb9620 100644
--- a/t/autohdr-subdir-pr12495.sh
+++ b/t/autohdr-subdir-pr12495.sh
@@ -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
-- 
1.8.3.1.605.g85318f5