summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-11-08 06:59:25 -0800
committerJakub Kicinski <kuba@kernel.org>2024-11-11 19:05:48 -0800
commit43271bb5bf67e78def9c2898040505e7cb5935f3 (patch)
treef108c77c002a0780f31ac8e9bb07b62c64747448 /scripts/lib/kdoc/kdoc_parser.py
parent874ed898a2049cb326b1b28a22a831556a58d2c1 (diff)
net: netconsole: selftests: Check if netdevsim is available
The netconsole selftest relies on the availability of the netdevsim module. To ensure the test can run correctly, we need to check if the netdevsim module is either loaded or built-in before proceeding. Update the netconsole selftest to check for the existence of the /sys/bus/netdevsim/new_device file before running the test. If the file is not found, the test is skipped with an explanation that the CONFIG_NETDEVSIM kernel config option may not be enabled. Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20241108-netcon_selftest_deps-v1-1-1789cbf3adcd@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions