[darcs-users] darcs patch: added regression test for issue1632
ben.franksen at online.de
Fri Oct 2 09:17:55 UTC 2009
Benjamin Franksen wrote:
> Trent W. Buck wrote:
> These would not be correct but I get your meaning. You want to just rename
> the script after the fix and not have to meddle with the comments, right?
>> I would also redirect output (>log) so as to test Darcs' exit status,
>> not darcs changes dir/non-existent-file >log
>> not fgrep 'added dir' log
Thinking about this a bit more before I re-send...
Calling 'not darcs changes ...' would fail if the 'darcs changes...'
succeeds, so this doesn't really test for what it is supposed to test,
Maybe you meant
darcs changes dir/non-existent-file >log
not fgrep 'added dir' log
(i.e. w/o the 'not' in the first line)
More information about the darcs-users