Thread (21 messages) 21 messages, 8 authors, 4d ago

Re: [PATCH net 7/7] selftests: netconsole: ignore busywait errors

From: Breno Leitao <leitao@debian.org>
Date: 2026-07-13 10:41:16
Also in: linux-kselftest, lkml

On Fri, Jul 10, 2026 at 08:04:47PM +0200, Matthieu Baerts (NGI0) wrote:
In these netconsole tests, bash is used with errexit (set -e). It means
that if the busywait timeout, the tests finish without printing an error
message.

It is fine to ignore these errors, because the following validate_xxx
helpers will check the content of the output file, and exit with an
appropriated error message, e.g. FAIL: File was not generated.
Agreed, the validate functions will catch this and report it more
appropriately.
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Breno Leitao <leitao@debian.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help