You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ne...@apache.org on 2010/07/21 01:05:22 UTC

svn commit: r966048 - /subversion/trunk/subversion/tests/cmdline/commit_tests.py

Author: neels
Date: Tue Jul 20 23:05:21 2010
New Revision: 966048

URL: http://svn.apache.org/viewvc?rev=966048&view=rev
Log:
* subversion/tests/cmdline/commit_tests.py (commit_url): Fix test failure.

Modified:
    subversion/trunk/subversion/tests/cmdline/commit_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/commit_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/commit_tests.py?rev=966048&r1=966047&r2=966048&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/commit_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/commit_tests.py Tue Jul 20 23:05:21 2010
@@ -2659,15 +2659,16 @@ def start_commit_detect_capabilities(sbo
 def commit_url(sbox):
   "'svn commit SOME_URL' should error"
   sbox.build()
-  wc_dir = sbox.wc_dir
-  repos_url = sbox.repo_url
+  url = sbox.repo_url
 
   # Commit directly to a URL
+  expected_error = ("svn: '" + url + 
+                    "' is a URL, but URLs cannot be commit targets")
   svntest.actions.run_and_verify_commit(None,
                                         None,
                                         None,
-                                        "Must give local path",
-                                        repos_url)
+                                        expected_error,
+                                        url)
 
 # Test for issue #3198
 def commit_added_missing(sbox):