selftests: netconsole: Add support for basic netconsole target format
authorBreno Leitao <leitao@debian.org>
Mon, 9 Jun 2025 09:46:29 +0000 (02:46 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 Jun 2025 21:21:53 +0000 (14:21 -0700)
commit224a6e602fb371b42ba5f854f32191d23b7e140a
tree4104a911f7acc5a38cd01e1cbb137b2d3e1a8b7a
parent69b25dd20c8368750d1e8b12cfe31387c545bdd1
selftests: netconsole: Add support for basic netconsole target format

Extend the netconsole selftest to validate both basic and extended
target formats. The basic format is a simpler variant that doesn't
support userdata or release functionality.

The test now validates that netconsole works correctly in both
configurations, improving test coverage for different netconsole
deployment scenarios.

Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20250609-netcons_ext-v3-4-5336fa670326@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/lib/sh/lib_netcons.sh
tools/testing/selftests/drivers/net/netcons_basic.sh