tests/run-tests.py
branchstable
changeset 728 5df6643c39e9
parent 726 f7050b041b5f
child 739 886e85e1a172
--- a/tests/run-tests.py	Wed Apr 14 17:58:10 2010 +0900
+++ b/tests/run-tests.py	Thu Apr 15 20:25:07 2010 +0200
@@ -855,6 +855,8 @@
     # unset env related to hooks
     for k in os.environ.keys():
         if k.startswith('HG_'):
+            # can't remove on solaris
+            os.environ[k] = ''
             del os.environ[k]
 
     global TESTDIR, HGTMP, INST, BINDIR, PYTHONDIR, COVERAGE_FILE