[PATCH 0/2] t/lib-gpg: ensure GNUPGHOME is created as needed
- From
Todd Zullinger <tmz@pobox.com>
- Date
- Jul 3, 2024, 15:37 UTC
- Message-ID
- <20240703153738.916469-1-tmz@pobox.com>
Hi,
While reviewing my local build logs, I noticed a number of tests being skipped unintentionally. I had not done so with any of the 2.45.0 releases, unfortunately, which is when this began.
92 of the 202 tests in t1016-compatObjectFormat.sh are skipped due to the GNUPGHOME directory missing, e.g.:
ok 5 # SKIP create a sha1 signed commit (missing GPG2)
ok 6 # SKIP create a sha1 signed tag (missing GPG2)
ok 8 # SKIP create another sha1 signed tag (missing GPG2)
ok 9 # SKIP merge the sha1 branches together (missing GPG2)With these changes, they are all run (successfully). :)
I presume that they have been skipped in the Github CI runs as well, but I don't know that the logs show enough detail to confirm that.
Thanks, Todd
Todd Zullinger (2): t/lib-gpg: add prepare_gnupghome() to create GNUPGHOME dir t/lib-gpg: call prepare_gnupghome() in GPG2 prereq
t/lib-gpg.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
-- 2.45.2