On Wed, May 8, 2013 at 10:08 AM, Gabriela Gibson
<[email protected]> 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 probably want to write out a python script of some sort to act as
your diff command.  The python script doesn't even have to actually
produce a diff, it just needs to verify that the command is run with
the expected arguments and that SVN passes the output back through to
the user.  So in this case I'd make a tiny python script that just
prints out the command line arguments and the test suite can look for
that output.

Reply via email to