Re: [RFC/PATCH 2/2] test: allow prerequisite to be evaluated lazily

2012-07-27 Thread Jeff King
On Thu, Jul 26, 2012 at 04:11:00PM -0700, Junio C Hamano wrote: Introduce a mechanism to probe the prerequiste lazily. Changes are: - test_lazy_prereq () function, which takes the name of the prerequisite it probes and the script to probe for it, is added. This only registers the

Re: [RFC/PATCH 2/2] test: allow prerequisite to be evaluated lazily

2012-07-27 Thread Jeff King
On Fri, Jul 27, 2012 at 11:45:00AM -0400, Jeff King wrote: And of course with non-broken probes, -v would also help to see exactly when the probe is run, using which commands, and what output they produced. E.g., for SYMLINKS, we should probably drop the stderr redirection from the probe so

Re: [RFC/PATCH 2/2] test: allow prerequisite to be evaluated lazily

2012-07-27 Thread Junio C Hamano
Jeff King p...@peff.net writes: On Fri, Jul 27, 2012 at 11:45:00AM -0400, Jeff King wrote: And of course with non-broken probes, -v would also help to see exactly when the probe is run, using which commands, and what output they produced. E.g., for SYMLINKS, we should probably drop the