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

Re: [PATCH] test: make SYMLINKS prerequisite more robust

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 10, 2023, 17:31 UTC
Message-ID
<xmqqk00pjuli.fsf@gitster.g>
In-Reply-To
<xmqqbkm3ppn8.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 9 quoted lines
> Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
>
>>> I wonder if something like this is in order?
>>
>> I don't have much to contribute on that front, but this is really
>> missing some "why", this worked before, why is it failing now? Do we
>> have any idea.
>
> Your guess is as good as mine.  I do not do Windows.

This morning, I notice that those CI jobs I ran last night that failed with "whoa, windows tests are somehow reporting that symlinks are available but not really" issue the patch in this thread were attempting to address has passed even for branches like 'master' and 'next' that do not yet have it, and it seems to be because you re-run these failed jobs.

Whatever magic you used to fix these failing tests, thanks.

Do you have an insight on why and how these were failing? The patch in this thread was a band-aid without knowing why all of a sudden "ln -s x y && test -h y" started passing (while compat/mingw.c still says readlink() is not supported). If we know that such a breakage is not expected, we can drop this workaroun, which would be great.

Thanks.
Previous: Junio C HamanoNext: Ævar Arnfjörð Bjarmason
Message 6 of 9 in “test: make SYMLINKS prerequisite more robust”
  1. test: make SYMLINKS prerequisite more robustJunio C Hamano, Feb 8, 2023
  2. Ævar Arnfjörð BjarmasonFeb 8, 2023
  3. Junio C HamanoFeb 9, 2023
  4. Ævar Arnfjörð BjarmasonFeb 9, 2023
  5. Junio C HamanoFeb 9, 2023
  6. Junio C HamanoFeb 10, 2023
  7. Ævar Arnfjörð BjarmasonFeb 10, 2023
  8. Johannes SchindelinFeb 13, 2023
  9. Junio C HamanoFeb 13, 2023

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.