[darcs-devel] Re: amend-record.pl test failures

Mark Stosberg mark at summersault.com
Mon Nov 1 05:09:02 PST 2004


On 2004-11-01, David Roundy <droundy at abridgegame.org> wrote:
> I test return codes on the command line with
>
> darcs foo && echo good
>
> The amend-record test seems to pass this, so I think the problem is just
> that a "successful" return code is zero, and an "unsuccessful" one is
> nonzero, while the perl "ok" functions expects the opposite (true on
> success).  I modified the tests on the basis of this understanding (if I'm
> wrong, modify them back...).

I did confirm last night that "zero" was being returned, so your update
sounds right.

	Mark





More information about the darcs-devel mailing list