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

Re: svn trunk r15153: FAIL (win32 ra_local bdb)

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-06-25 22:36:56 CEST

"D.J. Heap" <dj@shadyvale.net> writes:

> I think all expected strings are just passed to run_and_verify_svn and
> it uses them as regexes all the time as far as I can tell?

If I deliberately make the test fail in the loop I get

EXPECTED STDERR (regexp):
svn: warning: 'svn-test-work/working_copies/cat_tests-5/A/D/H' xrefers to a directory

whereas after the loop show I get:

EXPECTED STDERR:
svn: warning: 'svn-test-work/working_copies/cat_tests-5/A/D/G' xrefers to a directory

Notice that one says (regexp) and the other doesn't.

> You are right, though...the later test cases work fine without
> escaping the backslashes. I guess because in the first cases the
> regex is converting the "\new" filename into a "[newline]ew" (or
> whatever) and the later testcases don't have escape-able characters
> after the backslashes so it leaves them alone?

It appears that the [] make the expression into a string, although I
don't really understand why.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 25 22:37:37 2005

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.