tests: fix spurious failure due to i18n issue
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 12 May 2012 06:42:37 +0000 (08:42 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 13 May 2012 11:47:31 +0000 (13:47 +0200)
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.lattarini@gmail.com>
t/parallel-tests-fork-bomb.sh

index 2f0016b..ceeeabe 100755 (executable)
 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