linux/tools/testing/selftests/net/lib/py
Jakub Kicinski bc1a767f69 selftests: net: py: don't default to shell=True
Overhead of using shell=True is quite significant.
Micro-benchmark of running ethtool --help shows that
non-shell run is 2x faster.

Runtime of the XDP tests also shows improvement:
this patch: 2m34s 2m21s 2m18s 2m18s
    before:     2m54s 2m36s 2m34s

Reviewed-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20250830184317.696121-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-09-02 16:09:36 -07:00
..
__init__.py selftests: drv-net: Add test for devlink-rate traffic class bandwidth distribution 2025-07-02 15:39:06 -07:00
consts.py selftests: net: add scaffolding for Netlink tests in Python 2024-04-08 11:40:41 +01:00
ksft.py selftests: net: prevent Python from buffering the output 2025-07-17 16:27:38 -07:00
netns.py selftests: net: Add python context manager for netns entering 2025-02-21 15:28:03 -08:00
nsim.py selftests: drivers: net: fix name not defined 2024-10-11 16:01:00 -07:00
utils.py selftests: net: py: don't default to shell=True 2025-09-02 16:09:36 -07:00
ynl.py selftests: drv-net: Add test for devlink-rate traffic class bandwidth distribution 2025-07-02 15:39:06 -07:00