tests/run-tests.py
changeset 1132 13a3f6161af8
parent 1131 1938c2ebf517
child 1135 7c026ccf4e1a
--- a/tests/run-tests.py	Wed Sep 12 18:44:43 2012 +0100
+++ b/tests/run-tests.py	Thu Sep 13 23:02:29 2012 +0100
@@ -1211,6 +1211,10 @@
             # can't remove on solaris
             os.environ[k] = ''
             del os.environ[k]
+    if 'HG' in os.environ:
+        # can't remove on solaris
+        os.environ['HG'] = ''
+        del os.environ['HG']
 
     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE
     TESTDIR = os.environ["TESTDIR"] = os.getcwd()