subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1452967 - /subversion/trunk/subversion/tests/cmdline/authz_tests.py
Date Tue, 05 Mar 2013 20:04:49 GMT
Author: rhuijben
Date: Tue Mar  5 20:04:49 2013
New Revision: 1452967

URL: http://svn.apache.org/r1452967
Log:
Add the regression test I wrote earlier today, even though it doesn't really
reproduce this issue.

* subversion/tests/cmdline/authz_tests.py
  (authz_del_from_subdir): New test.
  (test_list): Add authz_del_from_subdir

Modified:
    subversion/trunk/subversion/tests/cmdline/authz_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/authz_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/authz_tests.py?rev=1452967&r1=1452966&r2=1452967&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/authz_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/authz_tests.py Tue Mar  5 20:04:49 2013
@@ -1515,6 +1515,21 @@ def authz_svnserve_groups(sbox):
                                      '-m', 'logmsg',
                                      E_url, D_url)
 
+@Skip(svntest.main.is_ra_type_file)
+@Issue(4332)
+def authz_del_from_subdir(sbox):
+  "delete file without rights on the root"
+
+  sbox.build(create_wc = False)
+
+  write_authz_file(sbox, {"/": "* = ", "/A": "jrandom = rw"})
+
+  write_restrictive_svnserve_conf(sbox.repo_dir)
+
+  svntest.actions.run_and_verify_svn(None, None, [],
+                                      'rm', sbox.repo_url + '/A/mu',
+                                      '-m', '')
+
 ########################################################################
 # Run the tests
 
@@ -1545,7 +1560,8 @@ test_list = [ None,
               wc_commit_error_handling,
               upgrade_absent,
               remove_subdir_with_authz_and_tc,
-              authz_svnserve_groups
+              authz_svnserve_groups,
+              authz_del_from_subdir,
              ]
 serial_only = True
 



Mime
View raw message