You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2014/05/18 10:36:50 UTC

svn commit: r1595573 - /subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c

Author: stefan2
Date: Sun May 18 08:36:50 2014
New Revision: 1595573

URL: http://svn.apache.org/r1595573
Log:
Fix tests by disabling feature tests unsupported by BDB.

* subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
  (recursive_locking): Disable recursive lock checks for BDB.

Modified:
    subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c

Modified: subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c?rev=1595573&r1=1595572&r2=1595573&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c Sun May 18 08:36:50 2014
@@ -1156,6 +1156,11 @@ recursive_locking(const svn_test_opts_t 
 {
   svn_fs_t *fs;
 
+  /* Bail (with success) on known-untestable scenarios */
+  if (strcmp(opts->fs_type, "bdb") == 0)
+    return svn_error_create(SVN_ERR_TEST_SKIPPED, NULL,
+                            "BDB won't test for recursive locks");
+
   SVN_ERR(svn_test__create_fs(&fs, REPO_NAME, opts, pool));
   SVN_ERR(svn_fs_fs__with_all_locks(fs, lock_again, fs, pool));