Subject: Re: [PATCH] t7500: fix tests with absolute path following ":(optional)" on Windows

From: Johannes Sixt <[email-masked]>
Date: Mon, 20 Oct 2025 19:32:29 +0200

Am 20.10.25 um 15:43 schrieb Ben Knoble:
> Going forward I will probably stick with using pwd, given the
> difference in platform behavior.
$(pwd) is usually safe, but not always. If we have to look at every
instance anyway, we can use $PWD for efficiency if it does not matter,
and $(pwd) only when it is necessary.

> Is there a doc or test lint for that? If not, might be useful.

If this were documented somewhere, would you have found it and obeyed
the recommendations?

-- Hannes