Thread (8 messages) 8 messages, 4 authors, 2025-09-04

Re: [PATCH v6 2/2] kasan: apply write-only mode in kasan kunit testcases

From: Yeoreum Yun <hidden>
Date: 2025-09-04 07:46:02
Also in: linux-doc, linux-mm, lkml, workflows

Hi Andrey,

[...]
quoted
 /**
- * KUNIT_EXPECT_KASAN_FAIL - check that the executed expression produces a
- * KASAN report; causes a KUnit test failure otherwise.
+ * KUNIT_EXPECT_KASAN_RESULT - check that the executed expression
+ * causes a KUnit test failure when the result is different from @fail.
What I meant here was:

KUNIT_EXPECT_KASAN_RESULT - checks whether the executed expression
produces a KASAN report; causes a KUnit test failure when the result
is different from @fail.
This is much clear. I'll modified the comment this again.

[...]
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Thanks :)

--
Sincerely,
Yeoreum Yun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help