[PATCH] run-tests: LANGUAGE may make tests fail

Wagner Bruna wagner.bruna+mercurial at gmail.com
Tue Nov 24 09:57:13 CST 2009


# HG changeset patch
# User Wagner Bruna <wbruna at softwareexpress.com.br>
# Date 1259078113 7200
# Branch stable
# Node ID e63ef7059143ccdf7f4689604895541d5d9cda54
# Parent  5d748045c2aed9f9b74799c78dcbb6bdbec38657
run-tests: LANGUAGE may make tests fail

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -781,7 +781,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 at example.com>"
     os.environ['CDPATH'] = ''


More information about the Mercurial-devel mailing list