# HG changeset patch # User Benoit Boissinot # Date 2010-04-15 18:25:07 # Node ID 1782278bab8af30894e6a61f9d8fb8103ae2c2bf # Parent fb89cd21a7a0574b2503c10f3c55839e53121ca0 run-tests.py: can't remove from os.environ on solaris diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -848,6 +848,8 @@ def main(): # 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