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

Re: [PATCH] t/lib-httpd: pass GIT_TEST_SIDEBAND_ALL through Apache

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 14, 2019, 21:20 UTC
Message-ID
<xmqqr2ca6p95.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190214204725.GK16125@zaya.teonanacatl.net>
Todd Zullinger <tmz@pobox.com> writes:
Show 29 quoted lines
> Jonathan Tan wrote:
>>> 07c3c2aa16 ("tests: define GIT_TEST_SIDEBAND_ALL", 2019-01-16) added
>>> GIT_TEST_SIDEBAND_ALL to the apache.conf PassEnv list.  Avoid warnings
>>> from Apache when the variable is unset, as we do for GIT_VALGRIND* and
>>> GIT_TRACE, from f628825481 ("t/lib-httpd: handle running under
>>> --valgrind", 2012-07-24) and 89c57ab3f0 ("t: pass GIT_TRACE through
>>> Apache", 2015-03-13), respectively.
>>> 
>>> Signed-off-by: Todd Zullinger <tmz@pobox.com>
>>> ---
>>> I missed this with rc0, but poking through build logs I noticed a number
>>> of 'AH01506: PassEnv variable GIT_TEST_SIDEBAND_ALL was undefined'
>>> warnings.
>>> 
>>> I think exporting this in lib-httpd.sh like we do for GIT_VALGRIND* and
>>> GIT_TRACE is the way to go, as opposed to in test-lib.sh, as we do for
>>> things like GNUPGHOME.  But I could easily be wrong about that.
>> 
>> Thanks for looking into this. I think this is the right way to do it
>> too.
>> 
>> Previous discussion here [1] but I don't think any patches came out of
>> that.
>> 
>> [1] https://public-inbox.org/git/20190129232732.GB218214@google.com/
>
> Hah.  Somehow I missed that thread and Jeff's reply barely
> 24 hours before I sent this.  Hopefully this saves Jonathan
> Nieder a few minutes of patch prep & testing.
Thanks, will queue in the meantime, and let's aim for -rc2.
Previous: Todd Zullinger
Message 6 of 6 in “t/lib-httpd: pass GIT_TEST_SIDEBAND_ALL through Apache”
  1. t/lib-httpd: pass GIT_TEST_SIDEBAND_ALL through ApacheTodd Zullinger, Feb 14, 2019
  2. Jeff KingFeb 14, 2019
  3. Todd ZullingerFeb 14, 2019
  4. Jonathan TanFeb 14, 2019
  5. Todd ZullingerFeb 14, 2019
  6. Junio C HamanoFeb 14, 2019

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.