test_retire_bzrdir_limited fails under wine with PermissionDenied

Bug #746996 reported by Martin Pool
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

Under winepython

ERROR: bzrlib.tests.per_bzrdir.test_bzrdir.TestBzrDir.test_retire_bzrdir_limited(BzrDirMetaFormat1)
----------------------------------------------------------------------
_StringException: Text attachment: log
------------
1012.641 opening working tree 'C:/windows/profiles/mbp/temp/testbzr-dha8fl.tmp'
------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "Z:\home\mbp\lib\python\testtools\runtest.py", line 144, in _run_user
    return fn(*args)
  File "Z:\home\mbp\lib\python\testtools\testcase.py", line 465, in _run_test_method
    testMethod()
  File "Z:\home\mbp\bzr\trunk\bzrlib\tests\per_bzrdir\test_bzrdir.py", line 536, in test_retire_bzrdir_limited
    bd.retire_bzrdir, limit=0)
  File "Z:\home\mbp\bzr\trunk\bzrlib\tests\__init__.py", line 1385, in assertRaises
    callableObj(*args, **kwargs)
  File "Z:\home\mbp\bzr\trunk\bzrlib\bzrdir.py", line 658, in retire_bzrdir
    self.root_transport.rename('.bzr', to_path)
  File "Z:\home\mbp\bzr\trunk\bzrlib\transport\local.py", line 413, in rename
    self._translate_error(e, path_from)
  File "Z:\home\mbp\bzr\trunk\bzrlib\transport\__init__.py", line 312, in _translate_error
    raise errors.PermissionDenied(path, extra=e)
PermissionDenied: Permission denied: "C:/windows/profiles/mbp/temp/testbzr-dha8fl.tmp/dir_limited(BzrDirMetaFormat1)/work/.bzr": [Error 5] Access denied
------------

I guess this is a problem with renaming in-use directories.

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.