mirror-linux/tools/testing/selftests/drivers/net/netdevsim
Hangbin Liu d9d836bfa5 selftests: net: move wait_local_port_listen to lib.sh
The function wait_local_port_listen() is the only function defined in
net_helper.sh. Since some tests source both lib.sh and net_helper.sh,
we can simplify the setup by moving wait_local_port_listen() to lib.sh.

With this change, net_helper.sh becomes redundant and can be removed.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250526014600.9128-1-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-05-27 17:31:42 -07:00
..
Makefile selftests: move macsec offload tests from net/rtnetlink to drivers/net/netdvesim 2024-11-11 14:12:21 -08:00
config selftests: move macsec offload tests from net/rtnetlink to drivers/net/netdvesim 2024-11-11 14:12:21 -08:00
devlink.sh selftests: netdevsim: be less selective for FW for the devlink test 2024-02-27 15:20:08 +01:00
devlink_in_netns.sh
devlink_trap.sh selftests: devlink: add a warning for interfaces coming up 2022-12-16 10:21:37 +00:00
ethtool-coalesce.sh selftests: add ring and coalesce selftests 2020-11-20 12:51:54 -08:00
ethtool-common.sh selftests: netdevsim: sprinkle more udevadm settle 2024-01-16 12:16:04 +01:00
ethtool-features.sh selftests: netdevsim: add a test checking ethtool features 2024-11-11 14:12:21 -08:00
ethtool-fec.sh selftests: net: Correct couple of spelling mistakes 2024-03-04 18:33:47 -08:00
ethtool-pause.sh selftests: extract common functions in ethtool-common.sh 2020-11-20 12:51:54 -08:00
ethtool-ring.sh selftests: add ring and coalesce selftests 2020-11-20 12:51:54 -08:00
fib.sh selftests: netdevsim: Add test cases for route deletion failure 2022-07-29 12:21:02 +01:00
fib_notifications.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
hw_stats_l3.sh selftests: netdevsim: Increase sleep time in hw_stats_l3.sh test 2022-05-18 14:06:50 +01:00
macsec-offload.sh selftests: netdevsim: add ethtool features to macsec offload tests 2024-11-11 14:12:21 -08:00
nexthop.sh selftests: devlink_lib: Fix bouncing of netdevsim DEVLINK_DEV 2021-06-08 14:39:07 -07:00
peer.sh selftests: net: move wait_local_port_listen to lib.sh 2025-05-27 17:31:42 -07:00
psample.sh selftests: devlink_lib: Fix bouncing of netdevsim DEVLINK_DEV 2021-06-08 14:39:07 -07:00
settings selftests: netdevsim: set test timeout to 10 minutes 2024-03-27 11:29:27 +00:00
tc-mq-visibility.sh selftests: net: Adapt ethtool mq tests to fix in qdisc graft 2025-01-15 09:28:51 +00:00
udp_tunnel_nic.sh net: netdevsim: try to close UDP port harness races 2025-01-27 14:24:34 -08:00