tags 11452 + patch severity 11452 minor thanks Hi Simon, thanks for the report.
On 05/11/2012 10:45 AM, Simon Josefsson wrote: > I got two self-test failures with automake 1.12 on Ubuntu 12.04 LTS. > The first was the 'lex-clean' issue that was already reported. The > other I couldn't find any report for, so please find test-suite.log > output for the failing test below. > > /Simon > > FAIL: t/parallel-tests-fork-bomb > [SNIP] It's a spurious failure due to internationalization/localization. Does the attached patch fix the problem for you? Regards, Stefano
>From 3f685ea79f9e42b4cd9351948889a9f9707803f9 Mon Sep 17 00:00:00 2001 Message-Id: <3f685ea79f9e42b4cd9351948889a9f9707803f9.1336804959.git.stefano.lattar...@gmail.com> From: Stefano Lattarini <stefano.lattar...@gmail.com> Date: Sat, 12 May 2012 08:42:37 +0200 Subject: [PATCH] tests: fix spurious failure due to i18n issue Fixes automake bug#11452. * t/parallel-tests-fork-bomb.sh: Export LANG, LANGUAGE and LC_ALL to 'C', to ensure error messages will be in English, and thus avoiding possible false negatives in our grepping of them. Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com> --- t/parallel-tests-fork-bomb.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/t/parallel-tests-fork-bomb.sh b/t/parallel-tests-fork-bomb.sh index 2f0016b..5586842 100755 --- a/t/parallel-tests-fork-bomb.sh +++ b/t/parallel-tests-fork-bomb.sh @@ -21,6 +21,11 @@ am_parallel_tests=yes . ./defs || Exit 1 +# We don't want localized error messages from make, since we'll have +# to grep them. See automake bug#11452. +LANG=C LANGUAGE=C LC_ALL=C +export LANG, LANGUAGE LC_ALL + # The tricky part of this test is to avoid that make hangs or even # freezes the system in case infinite recursion (which is the bug we # are testing against) is encountered. The following hacky makefile -- 1.7.9.5