subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pbu...@apache.org
Subject svn commit: r1165742 - /subversion/trunk/subversion/tests/cmdline/authz_tests.py
Date Tue, 06 Sep 2011 16:12:23 GMT
Author: pburba
Date: Tue Sep  6 16:12:23 2011
New Revision: 1165742

URL: http://svn.apache.org/viewvc?rev=1165742&view=rev
Log:
Associate an existing XFail test with issue #3796 'svn switch to URL
requires access to URL's parent'.

* subversion/tests/cmdline/authz_tests.py

  (authz_switch_to_directory): As above.  Also, add the --ignore-ancestry
   option while attempting the switch so the test doesn't fail with the
   new (in 1.7) "Path 'blah' does not share common version control ancestry
   with the requested switch location.  Use --ignore-ancestry to disable
   this check" error.

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=1165742&r1=1165741&r2=1165742&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/authz_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/authz_tests.py Tue Sep  6 16:12:23 2011
@@ -863,6 +863,7 @@ def authz_svnserve_anon_access_read(sbox
                                      B_url, B_path)
 
 @XFail()
+@Issue(3796)
 @Skip(svntest.main.is_ra_type_file)
 def authz_switch_to_directory(sbox):
   "switched to directory, no read access on parents"
@@ -879,7 +880,8 @@ def authz_switch_to_directory(sbox):
   G_path = os.path.join(wc_dir, 'A', 'D', 'G')
 
   # Switch /A/B/E to /A/B/F.
-  svntest.main.run_svn(None, 'switch', sbox.repo_url + "/A/B/E", G_path)
+  svntest.main.run_svn(None, 'switch', sbox.repo_url + "/A/B/E", G_path,
+                       '--ignore-ancestry')
 
 # Test to reproduce the problem identified by Issue 3242 in which
 # Subversion's authz, as of Subversion 1.5, requires access to the



Mime
View raw message