You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by cm...@apache.org on 2010/12/15 20:03:34 UTC
svn commit: r1049668 -
/subversion/trunk/subversion/tests/cmdline/stat_tests.py
Author: cmpilato
Date: Wed Dec 15 19:03:34 2010
New Revision: 1049668
URL: http://svn.apache.org/viewvc?rev=1049668&view=rev
Log:
Followup to r1045385, expecting an error that may or may not include
absolute paths (depending, it seems, on whether or not the test are
being run with within ${srcdir}). This allows stat_tests.py 19 to
pass again for those of us running tests inside the source tree.
* subversion/tests/cmdline/stat_tests.py
(status_unversioned_dir): Use a semi-permissive regexp for the
expected error.
Modified:
subversion/trunk/subversion/tests/cmdline/stat_tests.py
Modified: subversion/trunk/subversion/tests/cmdline/stat_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/stat_tests.py?rev=1049668&r1=1049667&r2=1049668&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/stat_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/stat_tests.py Wed Dec 15 19:03:34 2010
@@ -964,10 +964,8 @@ def status_unversioned_dir(sbox):
"status on unversioned dir (issue 2030)"
sbox.build(read_only = True)
dir = sbox.repo_dir
- expected_err = ["svn: warning: '" + os.path.abspath(dir) +
- "' is not a working copy\n",
- "svn: warning: '" + os.path.abspath(dir) +
- "' is not a working copy\n"]
+ expected_err = "svn: warning: '.*/" + os.path.basename(dir) + \
+ "' is not a working copy"
svntest.actions.run_and_verify_svn2(None, [], expected_err, 0,
"status", dir, dir)