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

Re: --invoke-diff-cmd test suite woes

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Wed, 8 May 2013 21:10:49 +0300

Ben Reser wrote on Wed, May 08, 2013 at 10:53:48 -0700:
> On Wed, May 8, 2013 at 10:08 AM, Gabriela Gibson
> <gabriela.gibson_at_gmail.com> wrote:
> > All my manual tests for the current --invoke-diff-cmd work fine, but I
> > cannot get the test suite to work.
> 1) You're not providing a path for the diff command are you sure that
> it's on the PATH in the environment that svn is running the command
> with?
> 2) You probably don't want to write your test using the system
> provided diff command. There are platforms such as Windows that
> provide no diff command by default. Even if the platform provides a
> diff command the output may not match your expected output.

You could use tools/diff/diff. (As a bonus, I think that binary is
currently untested, so the test will test both the external-diff
functionality and the tools/ utility.)
Received on 2013-05-08 20:11:35 CEST

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.