]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: drv-net: psp: fix test names in ipver_test_builder()
authorDaniel Zahka <daniel.zahka@gmail.com>
Tue, 16 Dec 2025 14:21:36 +0000 (06:21 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:16:46 +0000 (10:16 +0100)
commite4e5c21a9cd5ae00efcb33752ea44d8aef115f6e
treefff368ea62599ce07b2b49baea29c2e22153635b
parent018071d06c3b1dd09adf8f5d6dffbc7b275b10d3
selftests: drv-net: psp: fix test names in ipver_test_builder()

[ Upstream commit f0e5126f5e55d4939784ff61b0b7e9f9636d787d ]

test_case will only take on the formatted name after being
called. This does not work with the way ksft_run() currently
works. Assign the name after the test_case is created.

Fixes: 81236c74dba6 ("selftests: drv-net: psp: add test for auto-adjusting TCP MSS")
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Link: https://patch.msgid.link/20251216-psp-test-fix-v1-2-3b5a6dde186f@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/drivers/net/psp.py