Author: stefan2
Date: Sun Aug 11 22:32:17 2013
New Revision: 1513012
URL: http://svn.apache.org/r1513012
Log:
Fix the subversion version check in FSX tests.
* subversion/tests/libsvn_fs_x/fs-x-pack-test.c
(file_hint_at_shard_boundary,
test_info,
test_reps): FSX is available in 1.9+ but not 1.8-
Found by: danielsh
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=1513012&r1=1513011&r2=1513012&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 Sun Aug 11
22:32:17 2013
@@ -760,7 +760,7 @@ file_hint_at_shard_boundary(const svn_te
/* Bail (with success) on known-untestable scenarios */
if ((strcmp(opts->fs_type, "fsx") != 0)
- || (opts->server_minor_version && (opts->server_minor_version < 8)))
+ || (opts->server_minor_version && (opts->server_minor_version < 9)))
return SVN_NO_ERROR;
/* Create a packed FS and MAX_REV revisions */
@@ -809,7 +809,7 @@ test_info(const svn_test_opts_t *opts,
/* Bail (with success) on known-untestable scenarios */
if ((strcmp(opts->fs_type, "fsx") != 0)
- || (opts->server_minor_version && (opts->server_minor_version < 8)))
+ || (opts->server_minor_version && (opts->server_minor_version < 9)))
return SVN_NO_ERROR;
SVN_ERR(create_packed_filesystem(REPO_NAME, opts, MAX_REV, SHARD_SIZE,
@@ -862,7 +862,7 @@ test_reps(const svn_test_opts_t *opts,
/* Bail (with success) on known-untestable scenarios */
if ((strcmp(opts->fs_type, "fsx") != 0)
- || (opts->server_minor_version && (opts->server_minor_version < 8)))
+ || (opts->server_minor_version && (opts->server_minor_version < 9)))
return SVN_NO_ERROR;
for (i = 0; i < 10000; ++i)