Re: [PATCH] printf: add escaped-string format tests
From: Andy Shevchenko
Date: Mon Apr 06 2026 - 14:36:03 EST
On Mon, Apr 06, 2026 at 09:35:01PM +0300, Andy Shevchenko wrote:
> On Mon, Apr 06, 2026 at 06:27:37AM +0545, Shuvam Pandey wrote:
> > printf_kunit leaves escaped_str() empty even though printk-formats.rst
> > documents %*pE conversions and says that omitting the field width
> > escapes one byte only.
> >
> > Add tests for the documented %*pE, %*pEhp, and %*pEa conversions, and
> > for the single-byte %pE default when the field width is omitted.
>
> NAK. We have much more of them already. Check if they need to be translated
> to KUnit, though.
Really, guys, if you have a mentor, ask them how to use `git grep ...`.
--
With Best Regards,
Andy Shevchenko