[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: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-04-03 15:03:16 CEST

On Wed, Apr 02, 2003 at 09:42:22AM -0800, Brian Denny wrote:
> 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]):

No need for a regular expression. Rather use if err_output[0] == 'blah'

> > + 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]):

Same here.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 3 15:04:55 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.