You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2013/01/25 02:21:09 UTC

svn commit: r1438289 - /subversion/trunk/subversion/tests/cmdline/svnauthz_tests.py

Author: breser
Date: Fri Jan 25 01:21:08 2013
New Revision: 1438289

URL: http://svn.apache.org/viewvc?rev=1438289&view=rev
Log:
Make DAV and SVN tests skip some svnauthz tests.

I'll be refactoring them so not so many tests should get skipped but
for now make the build bots happy.

* subversion/tests/cmdline/svnauthz_tests.py
  (svnauthz_validate_test, svnauthz_accessof_test, svnauthz_accessof_is_test,
   svnauthz_compat_mode_test): Skip these tests unless doing an ra local test.

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

Modified: subversion/trunk/subversion/tests/cmdline/svnauthz_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnauthz_tests.py?rev=1438289&r1=1438288&r2=1438289&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnauthz_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnauthz_tests.py Fri Jan 25 01:21:08 2013
@@ -83,6 +83,7 @@ def verify_logfile(logfilename, expected
 # the library tests for the config file parser and the authz
 # parser already validate very failures return errors.
 
+@SkipUnless(svntest.main.is_ra_type_file)
 def svnauthz_validate_test(sbox):
   "test 'svnauthz validate' on files and urls"
   sbox.build()
@@ -197,6 +198,7 @@ def svnauthz_validate_txn_test(sbox):
   verify_logfile(logfilepath, expected_data)
 
 
+@SkipUnless(svntest.main.is_ra_type_file)
 def svnauthz_accessof_test(sbox):
   "test 'svnauthz accessof' on files and urls"
 
@@ -271,6 +273,7 @@ def svnauthz_accessof_test(sbox):
                                           "--username", "groucho",
                                           "--repository", "comedy")
 
+@SkipUnless(svntest.main.is_ra_type_file)
 def svnauthz_accessof_is_test(sbox):
   "test 'svnauthz accessof --is' on files and urls"
 
@@ -544,6 +547,7 @@ def svnauthz_accessof_txn_test(sbox):
   expected_data = svntest.verify.RegexOutput('Exit 2\n', match_all=False)
   verify_logfile(logfilepath, expected_data)
 
+@SkipUnless(svntest.main.is_ra_type_file)
 def svnauthz_compat_mode_test(sbox):
   "test 'svnauthz-validate' compatability mode"
   sbox.build()