On the fsfs-format7 branch: Apply FSFS tests to FSFS repos only.
* subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
(test_info): test for FSFS repo and version before running the test
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/fsfs-format7@1507732 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c b/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
index 2284625..cad5c52 100644
--- a/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
+++ b/subversion/tests/libsvn_fs_fs/fs-fs-pack-test.c
@@ -795,6 +795,11 @@
const svn_fs_fsfs_info_t *fsfs_info;
const svn_fs_info_placeholder_t *info;
+ /* Bail (with success) on known-untestable scenarios */
+ if ((strcmp(opts->fs_type, "fsfs") != 0)
+ || (opts->server_minor_version && (opts->server_minor_version < 8)))
+ return SVN_NO_ERROR;
+
SVN_ERR(create_packed_filesystem(REPO_NAME, opts, MAX_REV, SHARD_SIZE,
pool));