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

Nam Cao <[email protected]>
Newsgroups org.kernel.vger.linux-trace-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest
Message-ID <[email protected]>
Gabriele Monaco <[email protected]> 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 <[email protected]>
> Signed-off-by: Gabriele Monaco <[email protected]>

Reviewed-by: Nam Cao <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.