selftests: netconsole: ignore busywait errors
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Fri, 10 Jul 2026 18:04:47 +0000 (20:04 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Jul 2026 22:01:30 +0000 (15:01 -0700)
commite6ad44a5b1d55f5396b69d9575b2711dfeecba12
tree52999932001610750b8a947e9a9ed5af2ee74241
parentc25dd7439f84cf607e13d6de8cc1c79cd51f56ff
selftests: netconsole: ignore busywait errors

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.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20260710-net-sft-fix-containers-v1-7-a2915c294ef5@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/netconsole/netcons_cmdline.sh
tools/testing/selftests/drivers/net/netconsole/netcons_fragmented_msg.sh
tools/testing/selftests/drivers/net/netconsole/netcons_resume.sh
tools/testing/selftests/drivers/net/netconsole/netcons_sysdata.sh