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
IIIvan Ivanov <qmastery16@gmail.com>
Date
Mar 6, 2026, 14:14 UTC
Message-ID
<CAAaskFD7wmtqppatb5T5GMTviieR0Ttk9y4+c3khuF3bZBfE=g@mail.gmail.com>
In-Reply-To
<20260306043821.GA3465674@coredump.intra.peff.net>

Friends, thank you so much for your kind help! Indeed: it turned out that if /dev/shm is mounted with noexec then "--root=/dev/shm" is failing. If you would like to ensure that the git tests are succeeding regardless of what are the mount flags on some system or what some distro's packagers are doing (more portability), maybe it is possible to modify the git test system - to make it so that "askpass" always gets launched from a native original directory, instead of being copied to some "root" place where it could fail?

By the way I have completed a git packaging build: just these 12 mentioned tests are failing, everything else is fine. So for me atm the possible workarounds are either GIT_SKIP_TESTS='t0300 t0301 t0302 t5003 t5411 t5540 t5541 t5550 t5551 t5559 t5563 t5564', or "mkdir -p /tmp/git-test" then GIT_TEST_OPTS="--root=/tmp/git-test --verbose-log" instead of a /dev/shm/git-test

Previous: Jeff KingNext: Jeff King
Message 9 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.