[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 5522 - in trunk/subversion: libsvn_client tests/clients/cmdline

From: Brian Denny <brian_at_briandenny.net>
Date: 2003-04-02 19:42:22 CEST

On Wed, Apr 02, 2003 at 10:25:58AM -0600, kraai@tigris.org wrote:
> * subversion/tests/clients/cmdline/diff_tests.py
> (diff_nonextant_urls): New.

does this test pass for you? it fails for me.

> + if not re.match('svn: Filesystem has no item$', err_output[0]):
> + raise svntest.Failure
> +
> + diff_output, err_output = svntest.main.run_svn(None, 'diff', extant_url,
> + non_extant_url)
> + if not re.match('svn: Filesystem has no item$', err_output[0]):
> + raise svntest.Failure

here is the output i get when i run the test. it looks like svn diff
*is* erroring against the non-existant URL, but with a different error
string than what the test is checking for.

  subversion/libsvn_ra_local/ra_plugin.c:249: (apr_err=180000)
  svn: Couldn't find a repository.
  svn: Unable to open an ra_local session to URL
  subversion/libsvn_ra_local/split_url.c:153: (apr_err=180000)
  svn: svn_ra_local__split_URL: Unable to find valid repository
     (file:///usr/local/src/subversion/subversion/tests/clients/cmdline/repositories/diff_tests-12/A/does_not_exist)
     FAIL: diff_tests.py 12: svn diff errors against a non-existant URL

-brian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 2 19:49:53 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.