git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Next: Todd Zullinger
Message 1 of 14 in “t/lib-gpg: ensure GNUPGHOME is created as needed”
  1. 0/2 t/lib-gpg: ensure GNUPGHOME is created as neededTodd Zullinger, Jul 3, 2024
  2. 1/2 t/lib-gpg: add prepare_gnupghome() to create GNUPGHOME dirTodd Zullinger, Jul 3, 2024
  3. 2/2 t/lib-gpg: call prepare_gnupghome() in GPG2 prereqTodd Zullinger, Jul 3, 2024
  4. Todd ZullingerJul 3, 2024
  5. Todd ZullingerFeb 28, 2025
  6. Junio C HamanoOct 26, 2025
  7. Eric W. BiedermanOct 27, 2025
  8. Junio C HamanoOct 27, 2025
  9. Eric W. BiedermanOct 27, 2025
  10. Eric W. BiedermanOct 27, 2025
  11. Junio C HamanoOct 27, 2025
  12. t1016-compatObjectFormat: Really freeze time for reproduciblityEric W. Biederman, Oct 28, 2025
  13. Junio C HamanoOct 28, 2025
  14. Todd ZullingerOct 29, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.