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/12/28 21:42:23 UTC
svn commit: r1553910 - /subversion/trunk/subversion/tests/libsvn_wc/db-test.c
Author: rhuijben
Date: Sat Dec 28 20:42:22 2013
New Revision: 1553910
URL: http://svn.apache.org/r1553910
Log:
* subversion/tests/libsvn_wc/db-test.c
(create_open): Use transient data area and add to cleanup before creating
in an attempt to make these tests fail less often on the buildbot.
Modified:
subversion/trunk/subversion/tests/libsvn_wc/db-test.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=1553910&r1=1553909&r2=1553910&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/db-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/db-test.c Sat Dec 28 20:42:22 2013
@@ -338,13 +338,16 @@ create_open(svn_wc__db_t **db,
apr_pool_t *pool)
{
SVN_ERR(svn_dirent_get_absolute(local_abspath,
- svn_dirent_join("fake-wc", subdir, pool),
+ svn_dirent_join(
+ svn_test_data_path("db-test", pool),
+ subdir, pool),
pool));
- 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);
+ 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));
+
return SVN_NO_ERROR;
}