Author: rhuijben
Date: Thu Jul 8 08:11:42 2010
New Revision: 961621
URL: http://svn.apache.org/viewvc?rev=961621&view=rev
Log:
* subversion/tests/libsvn_client/client-test.c
(test_wc_add_scenarios): Remove test data from the previous run before
starting the checkout.
Modified:
subversion/trunk/subversion/tests/libsvn_client/client-test.c
Modified: subversion/trunk/subversion/tests/libsvn_client/client-test.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_client/client-test.c?rev=961621&r1=961620&r2=961621&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_client/client-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_client/client-test.c Thu Jul 8
08:11:42 2010
@@ -433,6 +433,10 @@ test_wc_add_scenarios(const svn_test_opt
pool));
SVN_ERR(svn_dirent_get_absolute(&wc_path, "test-wc-add", pool));
+
+ /* Remove old test data from the previous run */
+ SVN_ERR(svn_io_remove_dir2(wc_path, TRUE, NULL, NULL, pool));
+
SVN_ERR(svn_io_make_dir_recursively(wc_path, pool));
svn_test_add_dir_cleanup(wc_path);