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

Re: Re* [PATCH] t0613: mark as leak-free

From
Rubén Justo <rjusto@gmail.com>
Date
Jul 24, 2024, 06:45 UTC
Message-ID
<d3f248de-c424-4fd9-bb54-2314291603e3@gmail.com>
In-Reply-To
<ZqCOEGfTdOSAL60w@tanuki>
On Wed, Jul 24, 2024 at 07:16:00AM +0200, Patrick Steinhardt wrote:
Show 20 quoted lines
> On Wed, Jul 24, 2024 at 01:07:23AM +0200, Rubén Justo wrote:
> > On Tue, Jul 23, 2024 at 05:03:39PM -0400, Jeff King wrote:
> > > On Mon, Jul 22, 2024 at 11:02:24AM +0200, Patrick Steinhardt wrote:
> > > So I dunno. If we think people are paying attention to CI on their
> > > topics, and we think that we are close enough to leak-free that (1b)
> > > won't come up a lot, it might make sense. I'm not quite sure we're there
> > > yet on the latter, but it's mostly gut feeling (and I know things have
> > > gotten a bit better recently, too).
> > 
> > I don't know either.  Maybe it seems a bit early still considering the
> > numbers we have: 
> > 
> >    $ git grep -l PASSES_SANITIZE_LEAK=true t/t[0-9][0-9][0-9][0-9]-*.sh | wc -l
> >    678
> >    $ git grep -L PASSES_SANITIZE_LEAK=true t/t[0-9][0-9][0-9][0-9]-*.sh | wc -l
> >    329
> 
> These numbers aren't quite right -- you have to filter out most of the
> tests that include "lib-git-svn.sh", which reverses the schema and makes
> leak checks opt-out (?!).
You are right.  
Show 6 quoted lines
> That brings me to the following hacky numbers:
> 
>     $ grep -l TEST_PASSES_SANITIZE_LEAK=true t[0-9][0-9][0-9][0-9]-*.sh | grep -v svn | wc -l
>     678
>     $ grep -L TEST_PASSES_SANITIZE_LEAK=true t[0-9][0-9][0-9][0-9]-*.sh | grep -v svn | wc -l
>     261
Out of curiosity, I ran this:
    $ echo $((329 - $(git grep -l lib-git-svn.sh t/t[0-9][0-9][0-9][0-9]-*.sh | wc -l)))
    260
which points to t9150-svk-mergetickets.sh.
Previous: Patrick Steinhardt
Message 11 of 11 in “t0613: mark as leak-free”
  1. t0613: mark as leak-freeRubén Justo, Jun 30, 2024
  2. Jeff KingJul 1, 2024
  3. Rubén JustoJul 1, 2024
  4. t0612: mark as leak-freeRubén Justo, Jul 1, 2024
  5. Eric SunshineJul 1, 2024
  6. t0612: mark as leak-freeRubén Justo, Jul 1, 2024
  7. Patrick SteinhardtJul 22, 2024
  8. Jeff KingJul 23, 2024
  9. Re* [PATCH] t0613: mark as leak-freeRubén Justo, Jul 23, 2024
  10. Patrick SteinhardtJul 24, 2024
  11. Rubén JustoJul 24, 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.