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

Re: [PATCH 1/3] t/lib-httpd: load mod_unixd

From
Jeff King <peff@peff.net>
Date
Apr 10, 2015, 03:09 UTC
Message-ID
<20150410030913.GA11280@peff.net>
In-Reply-To
<55264615.2050107@drmicha.warpmail.net>
On Thu, Apr 09, 2015 at 11:27:49AM +0200, Michael J Gruber wrote:
Show 7 quoted lines
> In my case (apache 2.4, fedora 21), t/lib-http.sh failed to start the
> web server, so the tests above would (succeed trivially but) not run.
> 
> Maybe debian is using an apache default config that has mod_unixd built
> in, to ease the transition from apache 2.2? Many were bitten by these
> new requirements after the switch to 2.4, and some distros may have
> worked around that.
Yes, this is exactly it. On my Debian system:
  $ apache2 -l
  Compiled in modules:
    core.c
    mod_so.c
    mod_watchdog.c
    http_core.c
    mod_log_config.c
    mod_logio.c
    mod_version.c
    mod_unixd.c
> Do your tests run with this patch applied?

Yes. I think your patch is fine, as the IfModule means we handle both the built-in and dynamic cases.

-Peff
Previous: Michael J Gruber
Message 19 of 19 in “Make httpd tests run”
  1. 0/3 Make httpd tests runMichael J Gruber, Apr 8, 2015
  2. 1/3 t/lib-httpd: load mod_unixdMichael J Gruber, Apr 8, 2015
  3. 2/3 t/lib-git-svn: check same httpd module dirs as lib-httpdMichael J Gruber, Apr 8, 2015
  4. 3/3 t/lib-git-svn: adjust config to apache 2.4Michael J Gruber, Apr 8, 2015
  5. Eric WongApr 8, 2015
  6. Michael J GruberApr 9, 2015
  7. Eric WongApr 9, 2015
  8. Jeff KingApr 10, 2015
  9. Jeff KingApr 10, 2015
  10. Michael J GruberApr 13, 2015
  11. Kyle J. McKayApr 9, 2015
  12. Kyle J. McKayApr 9, 2015
  13. 0/4 Make httpd tests run v2Michael J Gruber, May 11, 2015
  14. 1/4 t/lib-httpd: load mod_unixdMichael J Gruber, May 11, 2015
  15. 2/4 t/lib-git-svn: check same httpd module dirs as lib-httpdMichael J Gruber, May 11, 2015
  16. 3/4 t/t91*: do not say how to avoid the testsMichael J Gruber, May 11, 2015
  17. 4/4 t/lib-git-svn: adjust config to apache 2.4 WIPMichael J Gruber, May 11, 2015
  18. Michael J GruberApr 9, 2015
  19. Jeff KingApr 10, 2015

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.