diff tests/run-tests.py @ 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 26d1d23e5a2b
children b2860654e588
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