Re: [PATCH] t/lib-gpg: fix gpgconf stderr redirect to /dev/null
- From
Todd Zullinger <tmz@pobox.com>
- Date
- Nov 13, 2017, 22:43 UTC
- Message-ID
- <20171113224323.GR5144@zaya.teonanacatl.net>
- In-Reply-To
- <20171113221823.jzt7jfhxeuyivbcn@LykOS.localdomain>
Hi Santiago,
Santiago Torres wrote:
> Thanks for catching the redirection issue! I agree that the other > fixes feel like overkill. Are you certain that switching to gpgconf > --reload will have the same effect as --kill? (I know that this is > the case for scdaemon only).
I am not at all certain whether reload would work to fix the issues you fixed by killing the agent between runs. :)
Were the ENOENT errors you encountered in running the tests multiple times easy to reproduce? If so, I can certainly try to reproduce them and then run the tests with --reload in place of --kill to gpgconf. If that worked across the various gnupg 2.x releases, it would be a simple enough change to make as a follow-up.
--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Whatever it is that the government does, sensible Americans would
prefer that the government does it to somebody else. This is the idea
behind foreign policy.
-- P.J. O'Rourke