Author: ivan
Date: Wed May 13 15:41:40 2015
New Revision: 1679230

URL: http://svn.apache.org/r1679230
Log:
Follow-up to r1679169: Extend 'fs-test 63' test.

* subversion/tests/libsvn_fs/fs-test.c
  (freeze_and_commit): Re-open FS and make another commit.

Modified:
    subversion/trunk/subversion/tests/libsvn_fs/fs-test.c

Modified: subversion/trunk/subversion/tests/libsvn_fs/fs-test.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_fs/fs-test.c?rev=1679230&r1=1679229&r2=1679230&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_fs/fs-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_fs/fs-test.c Wed May 13 15:41:40 
2015
@@ -6927,7 +6927,7 @@ freeze_and_commit(const svn_test_opts_t
   /* And the same once again, for good measure. */
   SVN_ERR(svn_fs_freeze(fs, noop_freeze_func, NULL, pool));
 
-  /* Make some commit. */
+  /* Make some commit using same FS instance. */
   SVN_ERR(svn_fs_begin_txn(&txn, fs, new_rev, pool));
   SVN_ERR(svn_fs_txn_root(&txn_root, txn, pool));
   SVN_ERR(svn_fs_change_node_prop(txn_root, "/", "temperature",
@@ -6935,6 +6935,15 @@ freeze_and_commit(const svn_test_opts_t
                                   pool));
   SVN_ERR(test_commit_txn(&new_rev, txn, NULL, pool));
 
+  /* Re-open FS and make another commit. */
+  SVN_ERR(svn_fs_open(&fs, "test-freeze-and-commit", NULL, subpool));
+  SVN_ERR(svn_fs_begin_txn(&txn, fs, new_rev, pool));
+  SVN_ERR(svn_fs_txn_root(&txn_root, txn, pool));
+  SVN_ERR(svn_fs_change_node_prop(txn_root, "/", "temperature",
+                                  svn_string_create("451", pool),
+                                  pool));
+  SVN_ERR(test_commit_txn(&new_rev, txn, NULL, pool));
+
   return SVN_NO_ERROR;
 }
 


Reply via email to