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

Re: v2.25.0-rc0 test failure on cygwin

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 3, 2025, 16:11 UTC
Message-ID
<xmqq5xhcpzyp.fsf@gitster.g>
In-Reply-To
<771677b1-2ce5-40ce-a704-752ff57ba0d3@ramsayjones.plus.com>
Ramsay Jones <ramsay@ramsayjones.plus.com> writes:
Show 19 quoted lines
> I noticed on Friday, while testing the v2.25.0-rc0 build, that test t6137
> failed on cygwin:
>
>   $ tail test-out-2-50-rc0 
>   Test Summary Report
>   -------------------
>   t6137-pathspec-wildcards-literal.sh              (Wstat: 256 (exited 1) Tests: 25 Failed: 11)
>     Failed tests:  2, 7, 9, 11, 14-15, 17, 19, 21, 23, 25
>     Non-zero exit status: 1
>   Files=1023, Tests=30946, 21783 wallclock secs (19.08 usr 42.17 sys + 4031.65 cusr 12965.78 csys = 17058.68 CPU)
>   Result: FAIL
>   make[1]: *** [Makefile:78: prove] Error 1
>   make[1]: Leaving directory '/home/ramsay/git/t'
>   make: *** [Makefile:3286: test] Error 2
>   $ 
>
> A quick squint at the failing tests made it clear that the failure was
> caused by the cygwin build treating a quoted glob character sequence
> (e.g. '\*') as a directory separator char followed by a glob character.

Should we revert ec727e18 (dir.c: literal match with wildcard in pathspec should still glob, 2025-05-03) before deciding to how to proceed, as we will be deep in prerelease freeze?

It's not a "fix" for something that is gravely wrong but a glitch people have lived with almost forever, so it can be reattempted in the next cycle without hurting much.

Thanks.
Previous: JAYATHEERTH KNext: Ramsay Jones
Message 5 of 6 in “v2.25.0-rc0 test failure on cygwin”
  1. Ramsay JonesJun 2, 2025
  2. Ramsay JonesJun 2, 2025
  3. Kristoffer HaugsbakkJun 2, 2025
  4. JAYATHEERTH KJun 3, 2025
  5. Junio C HamanoJun 3, 2025
  6. Ramsay JonesJun 3, 2025

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.