Re: [PATCH v2 1/2] string: Convert selftest to KUnit
From: Andy Shevchenko
Date: Fri Mar 01 2024 - 12:29:18 EST
On Fri, Mar 01, 2024 at 09:25:07AM -0800, Kees Cook wrote:
> On Fri, Mar 01, 2024 at 01:09:27PM +0200, Andy Shevchenko wrote:
> > On Fri, Mar 1, 2024 at 2:26 AM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> > >
> > > Convert test_string.c to KUnit so it can be easily run with everything
> > > else.
> >
> > Have you run it?
>
> Yes:
Of course I new the answer :-)
The problem as I described is the (absence of) fault injection in KUnit itself.
When tests are passed the picture is nice, when they are not, the reports become
a disaster (if this is applied).
--
With Best Regards,
Andy Shevchenko