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 10923 1782278bab8a
parent 10921 fb89cd21a7a0
child 10924 b2860654e588
child 10925 a101a743c570
run-tests.py: can't remove from os.environ on solaris
tests/run-tests.py
--- a/tests/run-tests.py	Thu Apr 15 18:08:48 2010 +0200
+++ b/tests/run-tests.py	Thu Apr 15 20:25:07 2010 +0200
@@ -848,6 +848,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