subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1512319 - /subversion/trunk/subversion/tests/libsvn_fs_x/fs-x-pack-test.c
Date Fri, 09 Aug 2013 14:22:21 GMT
Author: stefan2
Date: Fri Aug  9 14:22:20 2013
New Revision: 1512319

URL: http://svn.apache.org/r1512319
Log:
Disable FSX utiltiy class test for anything non-FSX because it creates
a repository and that may or may not fail depending on test parameters.

* subversion/tests/libsvn_fs_x/fs-x-pack-test.c
  (test_reps): run for 1.9+ FSX only

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=1512319&r1=1512318&r2=1512319&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  9 14:22:20 2013
@@ -858,8 +858,13 @@ test_reps(const svn_test_opts_t *opts,
   svn_stringbuf_t *serialized;
   svn_stream_t *stream;
   svn_stringbuf_t *contents = svn_stringbuf_create_ensure(10000, pool);
-
   int i;
+
+  /* Bail (with success) on known-untestable scenarios */
+  if ((strcmp(opts->fs_type, "fsx") != 0)
+      || (opts->server_minor_version && (opts->server_minor_version < 8)))
+    return SVN_NO_ERROR;
+
   for (i = 0; i < 10000; ++i)
     {
       int v, s = 0;



Mime
View raw message