Mercurial > hg
changeset 14263:7352ff757a48
run-tests: compare absolute paths in _checkhglib
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Sat, 07 May 2011 20:56:43 +0300 |
parents | 23cd7eeff678 |
children | 8e00906066c9 |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Sat May 07 22:25:20 2011 +0200 +++ b/tests/run-tests.py Sat May 07 20:56:43 2011 +0300 @@ -902,7 +902,7 @@ the one we expect it to be. If not, print a warning to stderr.""" expecthg = os.path.join(PYTHONDIR, 'mercurial') actualhg = _gethgpath() - if actualhg != expecthg: + if os.path.abspath(actualhg) != os.path.abspath(expecthg): sys.stderr.write('warning: %s with unexpected mercurial lib: %s\n' ' (expected %s)\n' % (verb, actualhg, expecthg))