You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2011/05/25 13:18:22 UTC
svn commit: r1127475 - /subversion/trunk/subversion/tests/libsvn_wc/db-test.c
Author: julianfoad
Date: Wed May 25 11:18:21 2011
New Revision: 1127475
URL: http://svn.apache.org/viewvc?rev=1127475&view=rev
Log:
* subversion/tests/libsvn_wc/db-test.c
(test_pdh): Change the relpaths used in this test so that they are not
orphans: so that a row exists at the parent path of each one. This is
to get closer to using only valid DB states in the tests, in advance of
introducing DB verification triggers.
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=1127475&r1=1127474&r2=1127475&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/db-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/db-test.c Wed May 25 11:18:21 2011
@@ -914,15 +914,15 @@ test_pdh(apr_pool_t *pool)
debugging wc_db to ensure it manages per-directory handles properly. */
SVN_ERR(svn_wc__db_base_add_absent_node(
- db, svn_dirent_join(local_abspath, "sub/A/B", pool),
- "sub/A/B", ROOT_ONE, UUID_ONE, 1,
+ db, svn_dirent_join(local_abspath, "sub", pool),
+ "sub", ROOT_ONE, UUID_ONE, 1,
svn_wc__db_kind_file, svn_wc__db_status_absent,
NULL, NULL,
pool));
SVN_ERR(svn_wc__db_base_add_absent_node(
- db, svn_dirent_join(local_abspath, "sub/A/B/C/D", pool),
- "sub/A/B/C/D", ROOT_ONE, UUID_ONE, 1,
+ db, svn_dirent_join(local_abspath, "sub/A", pool),
+ "sub/A", ROOT_ONE, UUID_ONE, 1,
svn_wc__db_kind_file, svn_wc__db_status_absent,
NULL, NULL,
pool));