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

Re: [PATCH 0/4] mark tests as leak-free

From
Jeff King <peff@peff.net>
Date
Jan 30, 2024, 05:54 UTC
Message-ID
<20240130055448.GC166761@coredump.intra.peff.net>
In-Reply-To
<45eb0748-6415-4e52-a54f-8d4e5ad57dde@gmail.com>
On Mon, Jan 29, 2024 at 10:04:10PM +0100, Rubén Justo wrote:
Show 10 quoted lines
> The tests: t0080, t5332 and t6113 can be annotated as leak-free.
> 
> I used:
>   $ make SANITIZE=leak GIT_TEST_PASSING_SANITIZE_LEAK=check GIT_TEST_SANITIZE_LEAK_LOG=true test
> 
> Rubén Justo (4):
>   t0080: mark as leak-free
>   t5332: mark as leak-free
>   t6113: mark as leak-free
>   test-lib: check for TEST_PASSES_SANITIZE_LEAK

These all looked reasonable to me. Thank you for not just fixing them, but including the background for each case (e.g., leak-free as of commit XYZ, etc).

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 13 of 14 in “mark tests as leak-free”
  1. 0/4 mark tests as leak-freeRubén Justo, Jan 29, 2024
  2. 1/4 t0080: mark as leak-freeRubén Justo, Jan 29, 2024
  3. Junio C HamanoJan 29, 2024
  4. Rubén JustoJan 29, 2024
  5. Junio C HamanoJan 29, 2024
  6. Rubén JustoJan 30, 2024
  7. Jeff KingJan 30, 2024
  8. Junio C HamanoJan 30, 2024
  9. 2/4 t5332: mark as leak-freeRubén Justo, Jan 29, 2024
  10. 3/4 t6113: mark as leak-freeRubén Justo, Jan 29, 2024
  11. 4/4 test-lib: check for TEST_PASSES_SANITIZE_LEAKRubén Justo, Jan 29, 2024
  12. Junio C HamanoJan 29, 2024
  13. Jeff KingJan 30, 2024
  14. Junio C HamanoJan 30, 2024

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.