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

Attachment: pgpdFmFc3ndL1.pgp
Description: PGP signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to