[darcs-users] darcs patch: Test for issue942.

Eric Kow kowey at darcs.net
Mon Sep 7 10:49:39 UTC 2009

On Sun, Sep 06, 2009 at 21:01:00 +1000, Trent W. Buck wrote:
> > +## Test for issue942 - remote apply prehook not invoked on darcs push
> > +echo 'apply prehook echo prehook fired' >R/_darcs/prefs/defaults
> > [...]
> > +grep 'prehook fired' log
> I would probably use touch and test -e, since they rely on a side effect
> of the prehook (a file being created) rather than relying on the
> prehook's stdout propagating correctly through push.

I'll look into it.  I like tests to be minimal.
So thanks!

Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090907/86bf4c65/attachment.pgp>

More information about the darcs-users mailing list