Re: [PATCH v2 5/5] tests: increase the verbosity of the GPG-related prereqs
- From
Jeff King <peff@peff.net>
- Date
- Mar 26, 2020, 08:50 UTC
- Message-ID
- <20200326085056.GF2200716@coredump.intra.peff.net>
- In-Reply-To
- <5e89b512513af0e2e16dc93c86ae3d1145061a82.1585114881.git.gitgitgadget@gmail.com>
On Wed, Mar 25, 2020 at 05:41:21AM +0000, Johannes Schindelin via GitGitGadget wrote:
Show 9 quoted lines
> Let's fix this by no longer redirecting the output not to `/dev/null`. > This is now possible because the affected prereqs were turned into lazy > ones (and are therefore evaluated via `test_eval_` which respects the > `--verbose` option). > > Note that we _still_ redirect `stdout` to `/dev/null` for those commands > that sign their `stdin`, as the output would be binary (and useless > anyway, because the reader would not have anything against which to > compare the output).
This looks good. You could drop the redirection of stdin in one case, too (since test_eval_ already does so) but I don't mind leaving it as documentation.
-Peff