You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by jc...@apache.org on 2020/12/15 23:16:14 UTC
svn commit: r1884474 - /subversion/trunk/win-tests.py
Author: jcorvel
Date: Tue Dec 15 23:16:14 2020
New Revision: 1884474
URL: http://svn.apache.org/viewvc?rev=1884474&view=rev
Log:
* 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)
Modified:
subversion/trunk/win-tests.py
Modified: subversion/trunk/win-tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/win-tests.py?rev=1884474&r1=1884473&r2=1884474&view=diff
==============================================================================
--- subversion/trunk/win-tests.py (original)
+++ subversion/trunk/win-tests.py Tue Dec 15 23:16:14 2020
@@ -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' \