From: Philippe Blain <levraiphilippeblain@gmail.com>
To: Git mailing list <git@vger.kernel.org>,
Derrick Stolee <dstolee@microsoft.com>
Subject: t7900 failures when $HOME is symlinked
Date: Fri, 3 Dec 2021 09:56:28 -0500 [thread overview]
Message-ID: <4cf14040-c8e1-0f75-0ec4-fd8cf6bed0a5@gmail.com> (raw)
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 reply other threads:[~2021-12-03 14:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-03 14:56 Philippe Blain [this message]
2021-12-03 17:10 ` t7900 failures when $HOME is symlinked 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4cf14040-c8e1-0f75-0ec4-fd8cf6bed0a5@gmail.com \
--to=levraiphilippeblain@gmail.com \
--cc=dstolee@microsoft.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.