You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by William Uther <wi...@cs.cmu.edu> on 2002/08/12 04:41:46 UTC
[PATCH] Fix log_tests.py empty repos test
Hi,
I recently posted some patches to the test suite. They reveal a bug
in the log tests. This patch fixes that bug.
later,
\x/ill :-}
* log_tests.py
(log_with_empty_repos): Clean out the old repos before making a new
one.
Index: ./subversion/tests/clients/cmdline/log_tests.py
===================================================================
--- ./subversion/tests/clients/cmdline/log_tests.py
+++ ./subversion/tests/clients/cmdline/log_tests.py Mon Aug 12
00:37:22 2002
@@ -17,7 +17,7 @@
######################################################################
# General modules
-import string, sys, re, os
+import string, sys, re, os, shutil
# Our testing module
import svntest
@@ -397,6 +397,8 @@
"Test 'svn log' on an empty repository"
# Create virgin repos
+ if os.path.exists(sbox.repo_dir):
+ shutil.rmtree(sbox.repo_dir)
svntest.main.create_repos(sbox.repo_dir)
stdout_lines, stderr_lines = svntest.main.run_svn\
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org