* win-tests.py: Add the new required test Location
"/authz-test-work/in-repo-authz" to the generated httpd config file.
(Followup for r1883839 and r1883990, applied to Windows)
@@ -772,6 +772,9 @@ class Httpd:
local_tmp = os.path.join(self.abs_builddir,
CMDLINE_TEST_SCRIPT_NATIVE_PATH,
'svn-test-work', 'local_tmp')
+ repositories = os.path.join(self.abs_builddir,
+ CMDLINE_TEST_SCRIPT_NATIVE_PATH,
+ 'svn-test-work', 'repositories')
return \
'<Location /authz-test-work/anon>' + '\n' \
' DAV svn' + '\n' \
@@ -787,6 +790,17 @@ class Httpd:
' </IfModule>' + '\n' \
' SVNPathAuthz ' + self.path_authz_option + '\n' \
'</Location>' + '\n' \
+ '<Location /authz-test-work/in-repos-authz>' + '\n' \
+ ' DAV svn' + '\n' \
+ ' SVNParentPath ' + repositories + '\n' \
+ ' AuthzSVNReposRelativeAccessFile "^/authz"\n' \
+ ' SVNAdvertiseV2Protocol ' + self.httpv2_option + '\n' \
+ ' AuthType Basic' + '\n' \
+ ' AuthName "Subversion Repository"' + '\n' \
+ ' AuthUserFile ' + self._quote(self.httpd_users) + '\n' \
+ ' Require valid-user' + '\n' \
+ ' SVNPathAuthz ' + self.path_authz_option + '\n' \
+ '</Location>' + '\n' \
'<Location /authz-test-work/mixed>' + '\n' \
' DAV svn' + '\n' \
' SVNParentPath ' + local_tmp + '\n' \
