]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: rtnetlink: print device info on preferred_lft test failure
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 19 Aug 2025 07:47:49 +0000 (07:47 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 Aug 2025 02:28:08 +0000 (19:28 -0700)
commit781bf2cc0616d44cc4a63bab3664a54b221bdc14
treebf6ca47f97818f32cf3a1157dedbc5fb36789d4e
parenteacb6e408dc861fb93baf10d6837204a3b39e915
selftests: rtnetlink: print device info on preferred_lft test failure

Even with slowwait used to avoid system sleep in the preferred_lft test,
failures can still occur after long runtimes.

Print the device address info when the test fails to provide better
troubleshooting data.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20250819074749.388064-1-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/rtnetlink.sh