Opened 7 years ago
Last modified 7 years ago
#12776 closed defect
Tests fail with old SVN: WindowsError: [Error 5] Access is denied: 'c:\\users\\joe\\appdata\\local\\temp\\trac-testdir-gnhitw\\www\\htdocs\\common\\.svn\\all-wcprops' — at Initial Version
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.14 |
Component: | admin/console | Version: | |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
C:\Trac>svn checkout https://svn.edgewall.org/repos/trac/trunk C:\Trac>python trac\admin\tests\console.py SKIP: trac.admin.tests.console.TracAdminComponentTestCase (__name__ is not trac.admin.tests.console) ................................................................E. ====================================================================== ERROR: test_deploy (__main__.TracAdminDeployTestCase) Deploy into valid target directory. ---------------------------------------------------------------------- Traceback (most recent call last): File "trac\admin\tests\console.py", line 849, in tearDown shutil.rmtree(self.env.path) File "c:\Python27\Lib\shutil.py", line 247, in rmtree rmtree(fullname, ignore_errors, onerror) File "c:\Python27\Lib\shutil.py", line 247, in rmtree rmtree(fullname, ignore_errors, onerror) File "c:\Python27\Lib\shutil.py", line 247, in rmtree rmtree(fullname, ignore_errors, onerror) File "c:\Python27\Lib\shutil.py", line 247, in rmtree rmtree(fullname, ignore_errors, onerror) File "c:\Python27\Lib\shutil.py", line 252, in rmtree onerror(os.remove, fullname, sys.exc_info()) File "c:\Python27\Lib\shutil.py", line 250, in rmtree os.remove(fullname) WindowsError: [Error 5] Access is denied: 'c:\\users\\joe\\appdata\\local\\temp\\trac-testdir-gnhitw\\www\\htdocs\\common\\.svn\\all-wcprops' ---------------------------------------------------------------------- Ran 66 tests in 7.113s FAILED (errors=1)
Should deploy also copy the .svn
folders?
It works after upgrading C:\Trac
SVN checkout from to SVN 1.8 working copy format, where only C:\Trac\.svn
folder exists, not C:\TracSVN\trac\htdocs\.svn
.
Note:
See TracTickets
for help on using tickets.