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

Re: Ordering of output for diff tests #29 and #31

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2006-03-28 18:57:59 CEST

"Justin Erenkrantz" <justin@erenkrantz.com> writes:

> Our regression tests for diff #29 (diff to BASE with local property
> mods) and #31 (diff a property change plus a local prop edit) expect a
> specific ordering that the client will return the diff in.
>
> ra_serf doesn't match the ordering - as it handles directories last
> not first. Other than that, the output is correct.
>
> Anybody have any ideas on how to best tweak the suite to handle this?
> AFAICT, it can match one line via regex or multiple lines as an exact
> match. We sort of need something in the middle, but I'm not quite
> sure what that would be.

I didn't write those tests, but some of the tests I did write allow
the diff order to vary. Tests like check_update_three_files simply
make three calls to the matching function looking for each pattern in
turn.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 28 18:58:23 2006

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.