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

Re: Expected test suite behavior

From
ADAmogh Dambal <amoghdambal1@gmail.com>
Date
May 25, 2026, 22:25 UTC
Message-ID
<4649049a-ded5-4cc6-bc2b-d5f543e6df99@gmail.com>
In-Reply-To
<ahTKq_zCmEDJpoN5@fruit.crustytoothpaste.net>
 > What are the OS and file system on the host?  We tend to see
 > executable bits set when NTFS, FAT, or other Windows-adjacent file
 > systems are used on Linux and you're mounting `$(PWD)` into the
 > container as a volume.

Ah, this is a smoking gun. I'm not on a Windows-adjacent file system; I'm running macOS Sequoia 15.5 on the host. Specifically:

$ uname -msprsv Darwin 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:26 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T8112 arm64 arm

But I am mounting $(PWD) into the container as a volume.
 > Git doesn't use `/tmp` for most files in the tests.  Those are stored
 > under `t/`, so you'd want to create your test directory there.

ACK, good to know, thanks! I am still seeing the same behavior with a `debug` directory under `t/`:

root@ec94ab1b260e:~/git/t/debug# /root/git/git init plain root@ec94ab1b260e:~/git/t/debug# ls -alhrt /root/git/t/debug/plain/.git/config -rw-r--r-- 1 root root 111 May 25 22:24 /root/git/t/debug/plain/.git/config

Previous: brian m. carlsonNext: brian m. carlson
Message 5 of 7 in “Re: Expected test suite behavior”
  1. Michael MontalboMay 25, 2026
  2. Jeff KingMay 25, 2026
  3. Amogh DambalMay 25, 2026
  4. brian m. carlsonMay 25, 2026
  5. Amogh DambalMay 25, 2026
  6. brian m. carlsonMay 26, 2026
  7. Junio C HamanoMay 26, 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.