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.
--- 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