run-tests.py: can't remove from os.environ on solaris stable
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 15 Apr 2010 20:25:07 +0200
branchstable
changeset 728 5df6643c39e9
parent 726 f7050b041b5f
child 729 e61c92cf8a08
child 730 bd1722740798
run-tests.py: can't remove from os.environ on solaris [ original upstream message ]
tests/run-tests.py
--- 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