]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: netconsole: Add tests for 'release' feature in sysdata
authorBreno Leitao <leitao@debian.org>
Fri, 14 Mar 2025 17:58:49 +0000 (10:58 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Fri, 21 Mar 2025 17:59:25 +0000 (18:59 +0100)
commit4b73dc83ed96ecfbbf1e0f0f3f7442d3ea55cdc9
treea4693f6cd17520d9c9f76d87e464dfdcd902b577
parentcfcc9239e78a5e9b641a615a56671507d2ad3e8b
selftests: netconsole: Add tests for 'release' feature in sysdata

Expands the self-tests to include the 'release' feature in
sysdata.

Verifies that enabling the 'release' feature appends the
correct data and ensures that disabling it functions as expected.

When enabled, the message should have an item similar to in the
userdata: `release=$(uname -r)`

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250314-netcons_release-v1-5-07979c4b86af@debian.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/drivers/net/netcons_sysdata.sh