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

Re: t2400 on freebsd12

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 14, 2023, 21:06 UTC
Message-ID
<xmqq8rbinqyg.fsf@gitster.g>
In-Reply-To
<CAPig+cRMXJkrEgyVtC0u2QK=5QNnJOQnXBU_rE+JiGufEYH9sg@mail.gmail.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
Show 11 quoted lines
> I haven't been following this thread closely, but I wonder if the
> `grep` introduced by patch [3/8] of the cited patch series is
> problematic:
>
>     grep -E "fatal:( options)? .* cannot be used together" actual
>
> since BSD lineage regexp (including macOS) historically did not
> support the "?" repetition operator. Perhaps an easy fix would be to
> simplify this to:
>
>     grep "cannot be used together" actual

We do not seem to get the same breakage on macOS CI runs (otherwise this would have been caught much earlier). We do have many "grep -E" invocations to ask for ERE but not many of them uses zero-or-one '?' in our test suite. But I would be somewhat surprised if test_dir_is_empty is broken on FreeBSD and nobody has noticed it for this long.

I got an impression from the discussion so far that this breakage is flaky and not always reproducible. I wonder if "stress" thing helps the chance to reproduce for those with FreeBSD boxes?

   $ cd t && sh ./t2400-* --stress
Thanks.
Previous: Jacob AbelNext: Jacob Abel
Message 9 of 11 in “t2400 on freebsd12”
  1. D. Ben KnobleJul 6, 2023
  2. D. Ben KnobleJul 13, 2023
  3. Junio C HamanoJul 13, 2023
  4. Eric SunshineJul 13, 2023
  5. D. Ben KnobleJul 13, 2023
  6. Jacob AbelJul 14, 2023
  7. Eric SunshineJul 14, 2023
  8. Jacob AbelJul 14, 2023
  9. Junio C HamanoJul 14, 2023
  10. Jacob AbelJul 15, 2023
  11. Eric SunshineJul 16, 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.