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

Re: [PATCH] tests: fix overeager scrubbing of environment variables

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 28, 2011, 17:00 UTC
Message-ID
<7v4o6n18oy.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20110327213756.GD25927@elie>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 21 quoted lines
> Jens Lehmann wrote:
>
>> - GIT_SKIP_TESTS
>> - GIT_TEST*
>> - GIT_PROVE_OPTS
>>
>> Let's fix that by adding them to the exception list.
>>
>> Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
>
> Acked-by: Jonathan Nieder <jrnieder@gmail.com>
>
> It misses a few, though:
>
>  - GIT_REMOTE_SVN_TEST_BIG_FILES
>  - GIT_NOTES_TIMING_TESTS
>  - GIT_PATCHID_TIMING_TESTS
>  - GIT_VALGRIND_OPTIONS
>
> If we were starting over I suppose those would all be GIT_TEST* but
> there's something to be said for muscle memory.

I don't think muscle memory matters as much in this case as the usual end-user facing interfaces. These are only for people who build and test git, not for our end users.

I think it is Ok to do this (yes I am trying to avoid doing this myself, as I am a bit behind and also am lazy) just as a single patch to rename the environment variables, and filter them with a single GIT_TEST_* pattern at the same time.

Thanks.
Previous: Jonathan NiederNext: Jens Lehmann
Message 7 of 10 in “tests: fix overeager scrubbing of environment variables”
  1. tests: fix overeager scrubbing of environment variablesJens Lehmann, Mar 27, 2011
  2. Jonathan NiederMar 27, 2011
  3. squash! tests: fix overeager scrubbing of environment variablesJonathan Nieder, Mar 27, 2011
  4. Jeff KingMar 28, 2011
  5. tests: fix overeager scrubbing of environment variablesJens Lehmann, Mar 27, 2011
  6. tests: use the --long-tests facility to toggle some slow testsJonathan Nieder, Mar 27, 2011
  7. Junio C HamanoMar 28, 2011
  8. tests: fix overeager scrubbing of environment variablesJens Lehmann, Mar 28, 2011
  9. Jonathan NiederMar 28, 2011
  10. Junio C HamanoMar 28, 2011

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.