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

Clarification on GPG preference update prompts during Git test suite execution

From
Haritha D <harithamma.d@ibm.com>
Date
Jun 4, 2025, 09:39 UTC
Message-ID
<3B3EF793-F2B0-4D77-98D7-900E5273D498@ibm.com>
Hi Team,
I wanted help regarding the below scenario:
While running the test suite for the latest Git version, I observed that some test cases—particularly t5573-pull-verify-signatures.sh—prompt for input with the message:
Really update the preferences? (y/N)
I attempted to work around this by piping yes n, but the prompt still appears, causing the tests to wait for user input.
I noticed that the ci/run-build-and-tests.sh script in the Git repo does not seem to explicitly handle this scenario (e.g., no --batch, --yes, or other flags related to GPG). I’m curious—how does Git's CI/CD pipeline avoid or suppress these GPG interactive prompts during test execution?
Any insights on how this is managed or best practices to handle such cases in automated environments would be greatly appreciated.

Thanks & regards Haritha

Next: Chris Torek
Message 1 of 3 in “Clarification on GPG preference update prompts during Git test suite execution”
  1. Haritha DJun 4, 2025
  2. Chris TorekJun 4, 2025
  3. Junio C HamanoJun 4, 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.