Author: danielsh
Date: Mon Feb 27 12:43:11 2012
New Revision: 1294134

URL: http://svn.apache.org/viewvc?rev=1294134&view=rev
Log:
Extend a test to point out that it is broken over ra_svn.

Found by: philip, danielsh

* subversion/tests/cmdline/svnsync_tests.py
  (basic_authz): Include a positive control as well, and mark XFail over ra_svn.

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

Modified: subversion/trunk/subversion/tests/cmdline/svnsync_tests.py
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnsync_tests.py?rev=1294134&r1=1294133&r2=1294134&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnsync_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnsync_tests.py Mon Feb 27 
12:43:11 2012
@@ -385,6 +385,7 @@ def detect_meddling(sbox):
 
 #----------------------------------------------------------------------
 @Skip(svntest.main.is_ra_type_file)
+@XFail(svntest.main.is_ra_type_svn)
 def basic_authz(sbox):
   "verify that unreadable content is not synced"
 
@@ -412,12 +413,18 @@ def basic_authz(sbox):
   run_sync(dest_sbox.repo_url)
 
   lambda_url = dest_sbox.repo_url + '/A/B/lambda'
+  iota_url = dest_sbox.repo_url + '/iota'
 
   # this file should have been blocked by authz
   svntest.actions.run_and_verify_svn(None,
                                      [], svntest.verify.AnyOutput,
                                      'cat',
                                      lambda_url)
+  # this file should have been synced
+  svntest.actions.run_and_verify_svn(None,
+                                     svntest.verify.AnyOutput, [],
+                                     'cat',
+                                     iota_url)
 
 #----------------------------------------------------------------------
 @Skip(svntest.main.is_ra_type_file)


Reply via email to