You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2013/05/15 15:42:26 UTC

svn commit: r1482829 - in /subversion/trunk/subversion/tests/libsvn_wc: db-test.c entries-compat.c

Author: rhuijben
Date: Wed May 15 13:42:25 2013
New Revision: 1482829

URL: http://svn.apache.org/r1482829
Log:
Cleanup testdata after running the tests when requested in a few more cases.
This allows running the tests in a smaller ramdrive than without this patch.

My ramdrive was to small for running the BDB tests on x64 for rc2.

* subversion/tests/libsvn_wc/db-test.c
  (create_open): Register working copy for cleanup.

* subversion/tests/libsvn_wc/entries-compat.c
  (create_open): Register working copy for cleanup.

Modified:
    subversion/trunk/subversion/tests/libsvn_wc/db-test.c
    subversion/trunk/subversion/tests/libsvn_wc/entries-compat.c

Modified: subversion/trunk/subversion/tests/libsvn_wc/db-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/db-test.c?rev=1482829&r1=1482828&r2=1482829&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/db-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/db-test.c Wed May 15 13:42:25 2013
@@ -343,6 +343,8 @@ create_open(svn_wc__db_t **db,
   SVN_ERR(svn_wc__db_open(db, NULL, FALSE, TRUE, pool, pool));
   SVN_ERR(svn_test__create_fake_wc(*local_abspath, TESTING_DATA, pool, pool));
 
+  svn_test_add_dir_cleanup(*local_abspath);
+
   return SVN_NO_ERROR;
 }
 

Modified: subversion/trunk/subversion/tests/libsvn_wc/entries-compat.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/entries-compat.c?rev=1482829&r1=1482828&r2=1482829&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/entries-compat.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/entries-compat.c Wed May 15 13:42:25 2013
@@ -336,6 +336,8 @@ create_open(svn_wc__db_t **db,
                           TRUE /* enforce_empty_wq */,
                           pool, pool));
 
+  svn_test_add_dir_cleanup(*local_abspath);
+
   return SVN_NO_ERROR;
 }