# HG changeset patch # User Jim Correia # Date 1232910761 18000 # Node ID 5fb312ba29a811e0a9b3652757c4bc66a8cdfbcc # Parent dd08e1e0cea1336b75f9966e63c055f2b5fb80bf Account for symlinks when setting up HGTMP. On Mac OS X, several top-level directories are actually symlinks into /private. When setting up HGTMP, expand the symlinks so that later comparisons to or substituations with the actual path work as expected. diff -r dd08e1e0cea1 -r 5fb312ba29a8 tests/run-tests.py --- a/tests/run-tests.py Sun Jan 25 13:49:15 2009 -0500 +++ b/tests/run-tests.py Sun Jan 25 14:12:41 2009 -0500 @@ -465,7 +465,8 @@ os.environ['CDPATH'] = '' TESTDIR = os.environ["TESTDIR"] = os.getcwd() -HGTMP = os.environ['HGTMP'] = tempfile.mkdtemp('', 'hgtests.', options.tmpdir) +HGTMP = os.environ['HGTMP'] = os.path.realpath(tempfile.mkdtemp('', 'hgtests.', + options.tmpdir)) DAEMON_PIDS = None HGRCPATH = None