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

Re: [PATCH 2/2] t/lib-http.sh: Enable httpd tests by default.

From
Clemens Buchacher <drizzd@aon.at>
Date
Nov 20, 2009, 20:11 UTC
Message-ID
<20091120201116.GA19131@localhost>
In-Reply-To
<905315640911201103w6d1da86duf41a53537672be8e@mail.gmail.com>
On Fri, Nov 20, 2009 at 11:03:13AM -0800, Tarmigan wrote:
> Here's a patch (cut-n-paste so it will probably be munged) for
> discussion of the port-fallback idea.  If httpd cannot bind to 5541,
> it tries 15541 etc.

I would prefer if we skip the test right away. If we really want to try different ports, we should first check that the port really is the problem. Otherwise, the test will uselessly retry several times. Apache 2 writes

 (98)Address already in use: make_sock: could not bind to address
 127.0.0.1:5541

to stderr, which we could use to detect that error condition. But other web servers are bound to behave differently.

Clemens
Previous: TarmiganNext: Junio C Hamano
Message 5 of 10 in “t/lib-http.sh: Restructure finding of default httpd location”
  1. 1/2 t/lib-http.sh: Restructure finding of default httpd locationTarmigan Casebolt, Nov 20, 2009
  2. 2/2 t/lib-http.sh: Enable httpd tests by default.Tarmigan Casebolt, Nov 20, 2009
  3. Junio C HamanoNov 20, 2009
  4. TarmiganNov 20, 2009
  5. Clemens BuchacherNov 20, 2009
  6. Junio C HamanoNov 20, 2009
  7. Junio C HamanoNov 20, 2009
  8. Jay SoffianNov 20, 2009
  9. TarmiganNov 20, 2009
  10. t/lib-http.sh: Restructure finding of default httpd locationTarmigan Casebolt, Jan 2, 2010

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.