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

Re: [BUG 2.41.0] t/lib-httpd/apache.conf incompatible with RHEL/CentOS 7

From
Jeff King <peff@peff.net>
Date
May 18, 2023, 19:22 UTC
Message-ID
<20230518192248.GB1514485@coredump.intra.peff.net>
In-Reply-To
<ZGZ5KsbkwoT68J1S@pobox.com>
On Thu, May 18, 2023 at 03:14:50PM -0400, Todd Zullinger wrote:
Show 20 quoted lines
> >   1. You use the looser value of GIT_TEST_HTTPD for CentOS tests, which
> >      would do the right thing. The downside is that if server setup
> >      failed for other reasons, we wouldn't notice and would silently
> >      skip the HTTP tests.
> > 
> >   2. We do some kind of version check in enable_cgipassauth(),
> >      and skip tests manually if it doesn't pass.
> > 
> >   3. You just skip the test manually on that platform with
> >      GIT_SKIP_TESTS=t5563.
> > 
> > Obviously (1) and (3) are the least work for us upstream, but I don't
> > think (2) would be too hard to do.
> 
> Yeah, the path of least effort seems ideal here.  If the
> tests are split I can easily skip them for CentOS 7.  For
> something that's going away in little over a year, it's good
> to put at least some of the onus on folks packaging for it.
> And that's less cruft in the test suite after CentOS 7 is
> gone (or any other ancient httpd's git may wish to support).

Too late. :) I just sent a patch with (2), as it was only a few extra lines.

> Thanks Peff!  I'm really glad you know your way around the
> test suite so well.  It'd take me far longer to figure out a
> good plan for something like this.

I was able to cheat a little, having had to figure out a similar solution for HTTP/2 not too long ago. :)

-Peff
Previous: Todd ZullingerNext: Jeff King
Message 4 of 11 in “[BUG 2.41.0] t/lib-httpd/apache.conf incompatible with RHEL/CentOS 7”
  1. Todd ZullingerMay 17, 2023
  2. Jeff KingMay 18, 2023
  3. Todd ZullingerMay 18, 2023
  4. Jeff KingMay 18, 2023
  5. Jeff KingMay 18, 2023
  6. Todd ZullingerMay 18, 2023
  7. Todd ZullingerMay 18, 2023
  8. Junio C HamanoMay 18, 2023
  9. Junio C HamanoMay 18, 2023
  10. Jeff KingMay 18, 2023
  11. Junio C HamanoMay 18, 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.