]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: py: explicitly forbid multiple ksft_run() calls
authorJakub Kicinski <kuba@kernel.org>
Wed, 8 Apr 2026 22:19:52 +0000 (15:19 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Apr 2026 03:38:33 +0000 (20:38 -0700)
commit3d2c3d2eea9acdbee5b5742d15d021069b49d3f9
treef194e9ffab7449853c39ba4c40571880c94e9e51
parent3c6132ccc58e8adf044166728e783f55dc323ef9
selftests: net: py: explicitly forbid multiple ksft_run() calls

People (do people still write code or is it all AI?) seem to not
get that ksft_run() can only be called once. If we call it
multiple times KTAP parsers will likely cut off after the first
batch has finished.

Link: https://patch.msgid.link/20260408221952.819822-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/lib/py/ksft.py