The ra_dav and ra_svn tests were failing spuriously on Windows with BDB 4.2 and the --cleanup option set. The server seems to hold onto the repository longer than before, causing the cleanup to fail with a permission denied error. So, I changed the cleanup code to a) not stop the test if the cleanup fails, and b) retry the cleanup at the end of the test run.
The ra_dav and ra_svn tests were failing spuriously on Windows with
BDB 4.2 and the --cleanup option set. The server seems to hold onto
the repository longer than before, causing the cleanup to fail with
a permission denied error. So, I changed the cleanup code to a) not
stop the test if the cleanup fails, and b) retry the cleanup at the
end of the test run.

* subversion/tests/clients/cmdline/svntest/main.py
  (Sandbox.cleanup_test_paths): Move cleanup code to _cleanup_test_path.
  (_deferred_test_paths): New. Global list of paths to remove.
  (_cleanup_deferred_test_paths): New. Retry deferred cleanups.
  (_cleanup_test_path): New. If the cleanup fails, append the path
   to the _deferred_test_paths list.
  (_internal_run_tests, run_tests): Call _cleanup_deferred_test_paths.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@847930 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion