]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: netconsole: ensure required log level is set on netcons_basic
authorAndre Carvalho <asantostc@gmail.com>
Fri, 21 Nov 2025 15:00:22 +0000 (15:00 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Nov 2025 02:52:20 +0000 (18:52 -0800)
commit00f3b3251814bebe17e1f52da09d0da165be07e8
tree2533d2843440546f971e296bbf5e0757ee57f126
parentd350d2835033bfa6833ff03bb2a7dc99a237d1c2
selftests: netconsole: ensure required log level is set on netcons_basic

This commit ensures that the required log level is set at the start of
the test iteration.

Part of the cleanup performed at the end of each test iteration resets
the log level (do_cleanup in lib_netcons.sh) to the values defined at the
time test script started. This may cause further test iterations to fail
if the default values are not sufficient.

Signed-off-by: Andre Carvalho <asantostc@gmail.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20251121-netcons-basic-loglevel-v1-1-577f8586159c@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/netcons_basic.sh