[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 4805 - in trunk: . subversion/tests/libsvn_delta

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-02-11 05:04:09 CET

On Sun, Feb 09, 2003 at 03:45:11PM +0000, Philip Martin wrote:
>...
> I disagree. A "diff" that simply deleted one file and added the
> second would do that, but it's not very useful. These tests are
> designed to prohibit that. Obviously in some cases the diff algorithm
> has to make arbitrary choices, but in the the cases I have tested
> explicitly I believe the diff output should be predictable. Any
> variation it is most likely a bug.

Right.

Is it possible to set up a test whereby we have three subdirectories, and we
just start dropping stuff in there?

  1) source
  2) destination
  3) expected diff

A test script can then just take triplets at will and run the test. We can
then just start loading the directories, rather than tweaking C code.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 11 05:00:43 2003

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