git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* t7900 failures when $HOME is symlinked
@ 2021-12-03 14:56 Philippe Blain
  2021-12-03 17:10 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Philippe Blain @ 2021-12-03 14:56 UTC (permalink / raw)
  To: Git mailing list, Derrick Stolee

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-05 10:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-03 14:56 t7900 failures when $HOME is symlinked Philippe Blain
2021-12-03 17:10 ` Junio C Hamano
2021-12-03 17:42   ` Jeff King
2021-12-05 10:02     ` Junio C Hamano
2021-12-03 22:40   ` Philippe Blain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).