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

Re: [RFC][PATCH] index-pack: add testcases found using AFL

From
Jeff King <peff@peff.net>
Date
Mar 10, 2017, 19:42 UTC
Message-ID
<20170310194245.p37w6mew4que6oya@sigill.intra.peff.net>
In-Reply-To
<eec5ab2a-7fe7-b47f-8073-a8212a9634f1@oracle.com>
On Fri, Mar 10, 2017 at 08:34:45PM +0100, Vegard Nossum wrote:
Show 11 quoted lines
> > That's something I guess, but I'm not enthused by the idea of just
> > dumping a bunch of binary test cases that nobody, not even the author,
> > understands.
> 
> I understand your concern. This is how I see it:
> 
> Negatives:
> 
>  - 'make test' takes 1 second longer to run
> 
>  - 548K data added to git.git

My real concern is that this is the tip of the ice berg. So we increased coverage in one program by a few percent. But wouldn't this procedure be applicable to lots of _other_ parts of Git, too?

IOW, I'm worried about a day when we've added dozens or hundreds of seconds to the test suite. Sure, we can quit adding at any time, but I feel like it's easier to make a decision from the outset.

I'm tempted to say these should go into a different test-suite, or be marked with a special flag or something. But then I guess nobody runs them.

-Peff
Previous: Vegard NossumNext: Vegard Nossum
Message 4 of 13 in “Re: [RFC][PATCH] index-pack: add testcases found using AFL”
  1. Vegard NossumMar 10, 2017
  2. Jeff KingMar 10, 2017
  3. Vegard NossumMar 10, 2017
  4. Jeff KingMar 10, 2017
  5. Vegard NossumMar 10, 2017
  6. Jeff KingMar 12, 2017
  7. Ævar Arnfjörð BjarmasonMar 10, 2017
  8. Jeff KingMar 12, 2017
  9. Vegard NossumMar 12, 2017
  10. Junio C HamanoMar 12, 2017
  11. Vegard NossumMar 13, 2017
  12. Junio C HamanoMar 13, 2017
  13. Vegard NossumMar 13, 2017

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.