Re: [PATCH v7 5/5] lib/test_printf.c: add test cases for '%pD'

From
Petr Mladek <pmladek@suse.com>
Date
2021-07-21 14:06:56
Also in
linux-fsdevel, lkml
Reply to
Jia He, 2021-07-15
On Thu 2021-07-15 09:14:07, Jia He wrote:
After the behaviour of specifier '%pD' is changed to print the full path
of struct file, the related test cases are also updated.

Given the full path string of '%pD' is prepended from the end of the scratch
buffer, the check of "wrote beyond the nul-terminator" should be skipped
for '%pD'.

Parameterize the new using_scratch_space in __test(), do_test() and wrapper
macros to skip the test case mentioned above,

Signed-off-by: Jia He <redacted>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr
Thread (14 messages) 14 messages, 4 authors, last reply 2021-10-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help