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 2015/08/07 14:42:37 UTC
svn commit: r1694674 -
/subversion/trunk/subversion/tests/libsvn_fs_x/fs-x-pack-test.c
Author: stefan2
Date: Fri Aug 7 12:42:37 2015
New Revision: 1694674
URL: http://svn.apache.org/r1694674
Log:
Only test FSX's batch fsync code when we test the FSX backend.
* subversion/tests/libsvn_fs_x/fs-x-pack-test.c
(test_batch_fsync): Skip if we are not testing the FSX backend.
Modified:
subversion/trunk/subversion/tests/libsvn_fs_x/fs-x-pack-test.c
Modified: subversion/trunk/subversion/tests/libsvn_fs_x/fs-x-pack-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_fs_x/fs-x-pack-test.c?rev=1694674&r1=1694673&r2=1694674&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_fs_x/fs-x-pack-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_fs_x/fs-x-pack-test.c Fri Aug 7 12:42:37 2015
@@ -854,6 +854,12 @@ test_batch_fsync(const svn_test_opts_t *
svn_fs_x__batch_fsync_t *batch;
int i;
+ /* Disable this test for non FSX backends because it has no relevance to
+ * them. */
+ if (strcmp(opts->fs_type, "fsx") != 0)
+ return svn_error_create(SVN_ERR_TEST_SKIPPED, NULL,
+ "this will test FSX repositories only");
+
/* Create an empty working directory and let it be cleaned up by the test
* harness. */
SVN_ERR(svn_dirent_get_absolute(&abspath, REPO_NAME, pool));