You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Phippard <ma...@gmail.com> on 2007/05/01 02:02:07 UTC
Test failure on Windows
Just built and ran tests @r24856 on OS X and Windows. OS X was fine
but on Windows I got some failures:
XPASS: copy_tests.py 50: move file using relative dst path names
XPASS: copy_tests.py 52: copy file using relative dst path names
FAIL: stat_tests.py 5: status on versioned items whose type has changed
I believe the first two are expected because I built with APR 1.2.8.
The stat failure is new though. Here is output from tests.log:
CMD: svnadmin.exe "create" "svn-test-work\repositories\stat_tests-5"
"--bdb-txn-nosync" "--fs-type=fsfs" <TIME = 1.672000>
CMD: svnadmin.exe dump "svn-test-work\local_tmp\repos" | svnadmin.exe
load "svn-test-work\repositories\stat_tests-5" <TIME = 0.031000>
CMD: svn.exe "co" "--username" "jrandom" "--password" "rayjandom"
"file:///C:/svn/src-trunk/Release/subversion/tests/cmdline/svn-test-work/repositories/stat_tests-5"
"svn-test-work\working_copies\stat_tests-5" "--config-dir"
"C:\svn\src-trunk\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config"
<TIME = 1.641000>
UNEXPECTED EXCEPTION:
Traceback (most recent call last):
File "C:\svn\src-trunk\subversion\tests\cmdline\svntest\main.py",
line 782, in run
rc = apply(self.pred.run, (), kw)
File "C:\svn\src-trunk\subversion\tests\cmdline\svntest\testcase.py",
line 116, in run
return self.func(sandbox)
File "C:\svn\src-trunk\subversion/tests/cmdline/stat_tests.py", line
190, in status_type_change
os.rename('A', 'iota')
WindowsError: [Error 13] Access is denied
FAIL: stat_tests.py 5: status on versioned items whose type has changed
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Test failure on Windows
Posted by Lieven Govaerts <sv...@mobsol.be>.
Mark Phippard wrote:
>
> UNEXPECTED EXCEPTION:
> Traceback (most recent call last):
> File "C:\svn\src-trunk\subversion\tests\cmdline\svntest\main.py",
> line 782, in run
> rc = apply(self.pred.run, (), kw)
> File "C:\svn\src-trunk\subversion\tests\cmdline\svntest\testcase.py",
> line 116, in run
> return self.func(sandbox)
> File "C:\svn\src-trunk\subversion/tests/cmdline/stat_tests.py", line
> 190, in status_type_change
> os.rename('A', 'iota')
> WindowsError: [Error 13] Access is denied
> FAIL: stat_tests.py 5: status on versioned items whose type has changed
I bet if you run the test again it will pass just fine. The test is
renaming a versioned directory A to iota. Any process that has a file
open in that directory will block the rename.
Check TortoiseSVN and virus scanners. In TSVN in the 'Icon Overlays' tab
you can add paths to exclude from handling.
hth,
Lieven
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org