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

Re: [PATCH] reftable: fix tests being broken by NFS' delete-after-close semantics

From
Toon Claes <toon@iotcl.com>
Date
Mar 22, 2024, 15:15 UTC
Message-ID
<87frwiuwlb.fsf@to1.studio>
In-Reply-To
<8ac5e94a3930cdd2aee9ea86acda3155674b635c.1711035529.git.ps@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 6 quoted lines
> Fix this bug by skipping over any files that start with a leading dot
> when counting files. While we could explicitly check for a prefix of
> ".nfs", other network file systems like SMB for example do the same
> trickery but with a ".smb" prefix. In any case though, this loosening of
> the assertion should be fine given that the reftable library would never
> write files with leading dots by itself.

I'm fully supportive of this, as this will also fix any issues possibly caused by .DS_Store files created by Finder on macOS, although it's very unlikely they will be created in these tests.

-- Toon

Previous: Junio C Hamano
Message 10 of 10 in “t0032 fails on NFS mounts”
  1. Chuck LeverMar 12, 2024
  2. rsbecker@nexbridge.comMar 12, 2024
  3. Patrick SteinhardtMar 21, 2024
  4. Jeff KingMar 13, 2024
  5. Patrick SteinhardtMar 15, 2024
  6. Junio C HamanoMar 15, 2024
  7. Patrick SteinhardtMar 21, 2024
  8. reftable: fix tests being broken by NFS' delete-after-close semanticsPatrick Steinhardt, Mar 21, 2024
  9. Junio C HamanoMar 21, 2024
  10. Toon ClaesMar 22, 2024

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.