run-tests: LANGUAGE may make tests fail stable
authorWagner Bruna <wbruna@softwareexpress.com.br>
Tue, 24 Nov 2009 13:55:13 -0200
branchstable
changeset 9931 a0680daed7b2
parent 9897 97eda2133a9b
child 9937 5c990169c02d
child 9939 251812d34c08
run-tests: LANGUAGE may make tests fail
tests/run-tests.py
--- a/tests/run-tests.py	Tue Nov 17 15:36:09 2009 +0900
+++ b/tests/run-tests.py	Tue Nov 24 13:55:13 2009 -0200
@@ -777,7 +777,7 @@
 
     # Reset some environment variables to well-known values so that
     # the tests produce repeatable output.
-    os.environ['LANG'] = os.environ['LC_ALL'] = 'C'
+    os.environ['LANG'] = os.environ['LC_ALL'] = os.environ['LANGUAGE'] = 'C'
     os.environ['TZ'] = 'GMT'
     os.environ["EMAIL"] = "Foo Bar <foo.bar@example.com>"
     os.environ['CDPATH'] = ''