diff options
| author | Gabriele Monaco <gmonaco@redhat.com> | 2026-07-23 09:45:33 +0200 |
|---|---|---|
| committer | Gabriele Monaco <gmonaco@redhat.com> | 2026-07-31 16:27:46 +0200 |
| commit | 572f3d94fd4fb7ffb0f6918fc7f98548817f476d (patch) | |
| tree | 37d7afb497ddabbc2ece19fd4a2693a16a6c0bac /kernel/trace | |
| parent | 7c700dcd74640b9f0f5eaafdc6fdc4d5741666e2 (diff) | |
selftests/verification: Rearrange the wwnr_printk test
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 <wen.yang@linux.dev>
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20260723074534.43521-17-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions
