subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pbu...@apache.org
Subject svn commit: r927938 - /subversion/branches/1.6.x-r926151/subversion/tests/libsvn_fs_base/changes-test.c
Date Fri, 26 Mar 2010 15:54:11 GMT
Author: pburba
Date: Fri Mar 26 15:54:11 2010
New Revision: 927938

URL: http://svn.apache.org/viewvc?rev=927938&view=rev
Log:
On the 1.6.x-r926121 branch: Fix test to build on 1.6.x

* subversion/tests/libsvn_fs_base/changes-test.c
  (changes_bad_sequences, test_funcs): Use the old SVN_TEST_PASS macro
   rather than SVN_TEST_OPTS_PASS macro which doesn't exist on 1.6.x.

Modified:
    subversion/branches/1.6.x-r926151/subversion/tests/libsvn_fs_base/changes-test.c

Modified: subversion/branches/1.6.x-r926151/subversion/tests/libsvn_fs_base/changes-test.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.6.x-r926151/subversion/tests/libsvn_fs_base/changes-test.c?rev=927938&r1=927937&r2=927938&view=diff
==============================================================================
--- subversion/branches/1.6.x-r926151/subversion/tests/libsvn_fs_base/changes-test.c (original)
+++ subversion/branches/1.6.x-r926151/subversion/tests/libsvn_fs_base/changes-test.c Fri Mar
26 15:54:11 2010
@@ -728,13 +728,20 @@ changes_fetch_ordering(const char **msg,
 
 
 static svn_error_t *
-changes_bad_sequences(const svn_test_opts_t *opts,
+changes_bad_sequences(const char **msg,
+                      svn_boolean_t msg_only,
+                      const svn_test_opts_t *opts,
                       apr_pool_t *pool)
 {
   svn_fs_t *fs;
   apr_pool_t *subpool = svn_pool_create(pool);
   svn_error_t *err;
 
+  *msg = "verify that bad change sequences raise errors";
+
+  if (msg_only)
+    return SVN_NO_ERROR;
+
   /* Create a new fs and repos */
   SVN_ERR(svn_test__create_bdb_fs
           (&fs, "test-repo-changes-bad-sequences", opts,
@@ -936,7 +943,6 @@ struct svn_test_descriptor_t test_funcs[
     SVN_TEST_PASS(changes_delete),
     SVN_TEST_PASS(changes_fetch),
     SVN_TEST_PASS(changes_fetch_ordering),
-    SVN_TEST_OPTS_PASS(changes_bad_sequences,
-                       "verify that bad change sequences raise errors"),
+    SVN_TEST_PASS(changes_bad_sequences),
     SVN_TEST_NULL
   };



Mime
View raw message