Mercurial > hg
diff tests/run-tests.py @ 7448:7900d240c3d8
Fix non-empty $CDPATH causing failed tests.
If CDPATH contains '.', every cd command prints the target path,
which causes additional output in tests and makes them fail.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 01 Dec 2008 12:11:28 +0100 |
parents | e47dab64be8d |
children | 0a65a1dd7894 |
line wrap: on
line diff
--- a/tests/run-tests.py Sun Nov 30 22:51:42 2008 +0100 +++ b/tests/run-tests.py Mon Dec 01 12:11:28 2008 +0100 @@ -459,6 +459,7 @@ os.environ['LANG'] = os.environ['LC_ALL'] = 'C' os.environ['TZ'] = 'GMT' os.environ["EMAIL"] = "Foo Bar <foo.bar@example.com>" +os.environ['CDPATH'] = '' TESTDIR = os.environ["TESTDIR"] = os.getcwd() HGTMP = os.environ['HGTMP'] = tempfile.mkdtemp('', 'hgtests.', options.tmpdir)