Mercurial > hg
changeset 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 | 4fd92687f331 |
children | f848d7f96195 |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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)