Test fails on a symlink on darwin
Marc-Antoine Parent
maparent at acm.org
Wed Jun 1 15:25:44 BST 2005
Good day!
Just testing the latest bzr from source on MacOSX 10.3.9.
I ran into this error:
======================================================================
ERROR: runTest (bzrlib.whitebox.BranchPathTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Volumes/Eriador/Programmation/bzr.dev/bzrlib/whitebox.py",
line 51, in runTest
self.assertEqual(rp('foo/bar/quux'), 'foo/bar/quux')
File "/Volumes/Eriador/Programmation/bzr.dev/bzrlib/whitebox.py",
line 24, in rp
return _relpath(dtmp, p)
File "/Volumes/Eriador/Programmation/bzr.dev/bzrlib/branch.py", line
72, in _relpath
raise NotBranchError("path %r is not within branch %r" % (rp, base))
NotBranchError: path '/private/tmp/tmpz0MT6N/foo/bar/quux' is not
within branch '/tmp/tmpz0MT6N'
----------------------------------------------------------------------
This is due to the fact that /tmp is a symlink to /private/tmp on our
platform. So the test itself probably needs fixing.
Cheers,
Marc-Antoine
More information about the bazaar
mailing list