[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: Robert Pluim <rpluim_at_bigfoot.com>
Date: 2003-04-02 20:08:57 CEST

Brian Denny writes:
> 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.
>

It passes for me. Let me investigate and get back to you.

> > + 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
>

-- 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 2 20:09:03 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.