changeset 10923:1782278bab8a stable

run-tests.py: can't remove from os.environ on solaris
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 15 Apr 2010 20:25:07 +0200
parents fb89cd21a7a0
children b2860654e588 a101a743c570
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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