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

Re: Fun tests, WAS: RE: Diff lib

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-01-14 21:49:10 CET

On Tue, 2003-01-14 at 15:31, Sander Striker wrote:
> > From: Greg Stein [mailto:gstein@lyra.org]
> > * write a simple C wrapper to produce a simple style of diff
> > * write a tool that:
> > - chooses two files at random [from one or more source trees would be an
> > easy input set]
> > - diff them using 'diff' and using the wrapper

I didn't notice this the first time it came by. Diffs between two
unrelated files tend to be kind of boring ("delete all that old stuff,
and add all this new stuff"). That's why the svndiff random-test code
doesn't pick two sets of random data; it makes up one set of random data
and then makes random changes. Not the most comprehensive of tests, but
much more comprehensive than diffing unrelated material.

(And, just because the diffs are different doesn't mean our diff is
buggy. But Greg noticed that later on in his own message.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 14 21:50:00 2003

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