mirror-linux/tools/testing/selftests/net/lib
Gal Pressman 353cfc0ef3 selftests: drv-net: Bring back tool() to driver __init__s
The pp_alloc_fail.py test (which doesn't run in NIPA CI?) uses tool, add
back the import.

Resolves:
  ImportError: cannot import name 'tool' from 'lib.py'

Fixes: 68a052239f ("selftests: drv-net: update remaining Python init files")
Reviewed-by: Nimrod Oren <noren@nvidia.com>
Signed-off-by: Gal Pressman <gal@nvidia.com>
Link: https://patch.msgid.link/20260105163319.47619-1-gal@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-01-06 17:52:08 -08:00
..
py selftests: drv-net: Bring back tool() to driver __init__s 2026-01-06 17:52:08 -08:00
sh selftests: defer: Introduce DEFER_PAUSE_ON_FAIL 2025-09-11 19:02:51 -07:00
.gitignore selftests: net: move xdp_helper to net/lib 2025-04-28 15:49:10 -07:00
Makefile selftests: net: remove old setup_* scripts 2025-11-20 18:19:31 -08:00
csum.c selftests: net: csum: Clean up recv_verify_packet_ipv6 2024-10-03 16:44:28 -07:00
ksft.h selftests: net: Fix build warnings 2025-12-10 01:11:12 -08:00
ksft_setup_loopback.sh selftests: net: remove old setup_* scripts 2025-11-20 18:19:31 -08:00
xdp_dummy.bpf.c selftests: drv-net: add xdp cases for ping.py 2025-03-10 13:31:12 -07:00
xdp_helper.c selftests: net: retry when bind returns EBUSY in xdp_helper 2025-04-28 15:49:10 -07:00
xdp_native.bpf.c selftests: drv-net: xdp: Fix register spill error with clang 20 2025-11-14 17:45:07 -08:00