Thread (25 messages) 25 messages, 2 authors, 3d ago

Re: [PATCH v4 16/17] selftests/verification: Rearrange the wwnr_printk test

From: Nam Cao <hidden>
Date: 2026-07-20 11:01:12
Also in: linux-kselftest, lkml

Gabriele Monaco [off-list ref] writes:
The wwnr_printk test expects no reactions in some situations, after
fixing the bash assertion, the test is failing because expecting no
reaction after a previous step had reactions is flaky without making
sure all buffers are flushed.

Wait for reactions to be over when expected by polling dmesg for an
interval without any rv message.
Also simplify the load function to stop loads as soon as a reaction
occurs, this limits the number of lines to flush and makes tests overall
faster and more stable.

Reviewed-by: Wen Yang <redacted>
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Reviewed-by: Nam Cao <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help