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

t7900 failures when $HOME is symlinked

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
Dec 3, 2021, 14:56 UTC
Message-ID
<4cf14040-c8e1-0f75-0ec4-fd8cf6bed0a5@gmail.com>
Hi Stolee,

I noticed two failures, t7900.32 and t7900.36, on a system where $HOME is symlinked, i.e.

     $ cd $HOME && pwd
     /home/me
     $ pwd -P
     /some/other/path/me

These two tests use 'pfx = $(cd $HOME && pwd)', so $pfx is '/home/me', but the actual path that gets written by Git is canonicalized, i.e. '/some/other/path/me'. I think a simple fix would be to use 'pwd -P' instead, which fixes it for me.

Cheers,
Philippe.
Next: Junio C Hamano
Message 1 of 5 in “t7900 failures when $HOME is symlinked”
  1. Philippe BlainDec 3, 2021
  2. Junio C HamanoDec 3, 2021
  3. Jeff KingDec 3, 2021
  4. Junio C HamanoDec 5, 2021
  5. Philippe BlainDec 3, 2021

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.