Fix bug in testing mock
authorJacob Bachmeyer <jcb@gnu.org>
Wed, 26 Oct 2022 02:13:41 +0000 (21:13 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Wed, 26 Oct 2022 02:13:41 +0000 (21:13 -0500)
commita0b65e22103b41fb80c9966edbaac3090dd0a993
tree4b896a09bf2180c0d0886a87af26b4669f9c87f8
parent67f760ed7a1c0370a3f543482686fc5211f1c15d
Fix bug in testing mock

If nonexistent files appear in the keyring list, grep will return an error
even if a later keyring contains a match; this will cause the mock tool to
incorrectly report not finding a key.  This bug was hidden by the main
gatekeeper only using one keyring on each gpgv run.
testsuite/lib/exec/mockgpgv