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

Re: Test "t0300-credentials" is failing on Arch/Artix: asks to enter the Username/Password in an infinite loop

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Mar 6, 2026, 21:17 UTC
Message-ID
<aatEZfGPkZTVT4uJ@fruit.crustytoothpaste.net>
In-Reply-To
<CAAaskFBNBEiPW4tLRtPQqkntHFpDTgjwrx8Lqg-qax1Cb_mEhQ@mail.gmail.com>
On 2026-03-06 at 17:36:35, Ivan Ivanov wrote:
> Sounds reasonable, but - if there is only an issue with askpass and
> everything else is fine, couldn't we just execute askpass from its
> origin - instead of copying it to the destination ./git-test/
> directory?

We actually do generate and run quite a few scripts in the testsuite (`git grep write_script`). All of these will be generated in the trash directory we create for each test and some of them contain dynamic components that cannot be generated before the testsuite is run.

It may be, for whatever reason, that only those tests happen to malfunction in this case, but we're not willing to do the testing and maintenance required to guarantee that the testsuite works in a noexec environment. There are some cases where we accept patches to deal with uncommon cases (for instance, I send in patches to fix the testsuite with zsh in sh mode from time to time), but I think this is a case where we fully expect things to be very broken (at least I do) and the amount of effort required to fix it would be substantial.

I am sympathetic to the downsides of noexec temporary directories because I've worked on systems where `/tmp` was noexec, but we assume that most people on Unix systems have at least a home directory where they can execute things (if for no other reason than the customary `~/bin` directory).

-- 
brian m. carlson (they/them)
Toronto, Ontario, CA
Previous: Ivan Ivanov
Message 12 of 12 in “Test "t0300-credentials" is failing on Arch/Artix: asks to enter the Username/Password in an infinite loop”
  1. Ivan IvanovMar 6, 2026
  2. Ivan IvanovMar 6, 2026
  3. brian m. carlsonMar 6, 2026
  4. Ivan IvanovMar 6, 2026
  5. brian m. carlsonMar 6, 2026
  6. Ivan IvanovMar 6, 2026
  7. Ivan IvanovMar 6, 2026
  8. Jeff KingMar 6, 2026
  9. Ivan IvanovMar 6, 2026
  10. Jeff KingMar 6, 2026
  11. Ivan IvanovMar 6, 2026
  12. brian m. carlsonMar 6, 2026

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.