> -----Original Message-----
> From: Kamesh Jayachandran [mailto:kam...@collab.net]
> Sent: dinsdag 8 februari 2011 15:30
> To: Prabhu Gnana Sundar Ponnarasu
> Cc: dev@subversion.apache.org
> Subject: RE: [PATCH] New XFail test for issue 3781
> 
> 
> Thanks Prabhu.
> 
> I committed with the following tweaks in r1068411.
> 
> 1. Added @XFail(), @Issue(3781) decorators
> 2.
> 
> +  # test the case-sensitivity of the repo name
> +  write_authz_file(sbox, {},
> +                   sections = {mixed_case_repo_dir + ":/": "jrandom =
> r",
> +                               mixed_case_repo_dir + ":/A": "jrandom =
> r",
> +                               sbox.repo_dir + ":/A/mu": "jrandom =",
> +                               mixed_case_repo_dir + ":/A/mu":
> "jrandom = rw"})
> 
> Replaced this snippet by the following snippet.
> +  # test the case-sensitivity of the repo name
> +  sec_mixed_case = {mixed_case_repo_dir + ":/": "jrandom = r",
> +                    mixed_case_repo_dir + ":/A": "jrandom = r",
> +                    os.path.basename(sbox.repo_dir) + ":/A/mu":
> "jrandom =",
> +                    mixed_case_repo_dir + ":/A/mu": "jrandom = rw"}
> +  write_authz_file(sbox, {}, sec_mixed_case)
> 
> 
> You can reduce this to simpler one as most of the time same 'cat' and
> 'commit' is tested with one 'for' loop
> which iterates over [(rule1, section1), (rule2, section2)...]

This test XFails for the wrong reason on svn://.

EXPECTED STDERR (regexp):
svn: E175013: Unable to connect to a repository at URL
'svn://localhost/svn-test-work/repositories/authz_tests-20/A/mu'
svn: E175013: Access to '/svn-test-work\repositories\authz_tests-20/A/mu'
forbidden
svn: E175009: XML parsing failed: (403 Forbidden)
ACTUAL STDERR:
..\..\..\subversion\svn\cat-cmd.c:81: (apr_err=170001)
..\..\..\subversion\svn\util.c:967: (apr_err=170001)
..\..\..\subversion\libsvn_client\cat.c:233: (apr_err=170001)
..\..\..\subversion\libsvn_ra_svn\client.c:1557: (apr_err=170001)
..\..\..\subversion\libsvn_ra_svn\client.c:242: (apr_err=170001)
..\..\..\subversion\svnserve\serve.c:174: (apr_err=170001)
svn: E170001: Authorization failed
EXCEPTION: SVNUnmatchedError

See http://subversion.apache.org/buildbot/ or more specifically
http://ci.apache.org/builders/svn-slik-w2k3-x64-ra/builds/1675/steps/Test%20
fsfs%2Bsvn/logs/testlog

        Bert

Reply via email to