Author: kotkov Date: Thu Nov 24 15:57:31 2022 New Revision: 1905511 URL: http://svn.apache.org/viewvc?rev=1905511&view=rev Log: On the 'pristines-on-demand-on-mwf' branch: Following up on r1900103, expect different errors in the newly added authz_tests.py#37 for http:// and svn:// protocols.
* subversion/tests/cmdline/authz_tests.py (cat_base_after_repo_access_removed): Use separate expectations for different protocols. Modified: subversion/branches/pristines-on-demand-on-mwf/subversion/tests/cmdline/authz_tests.py Modified: subversion/branches/pristines-on-demand-on-mwf/subversion/tests/cmdline/authz_tests.py URL: http://svn.apache.org/viewvc/subversion/branches/pristines-on-demand-on-mwf/subversion/tests/cmdline/authz_tests.py?rev=1905511&r1=1905510&r2=1905511&view=diff ============================================================================== --- subversion/branches/pristines-on-demand-on-mwf/subversion/tests/cmdline/authz_tests.py (original) +++ subversion/branches/pristines-on-demand-on-mwf/subversion/tests/cmdline/authz_tests.py Thu Nov 24 15:57:31 2022 @@ -1839,7 +1839,14 @@ def cat_base_after_repo_access_removed(s svntest.actions.run_and_verify_svn("This is the file 'pi'.\n", [], 'cat', sbox.ospath('A/D/G/pi') + '@BASE') else: - svntest.actions.run_and_verify_svn(None, '.*E170001: Authorization failed', + if svntest.main.is_ra_type_dav(): + expected_err = ".*svn: E175013: .*[Ff]orbidden.*" + elif svntest.main.is_ra_type_svn(): + expected_err = ".*svn: E170001: Authorization failed.*" + else: + raise svntest.Failure + + svntest.actions.run_and_verify_svn(None, expected_err, 'cat', sbox.ospath('A/D/G/pi') + '@BASE')