linux/tools/testing/selftests/drivers/net/netdevsim
Wang Liang d01f8136d4 selftests: netdevsim: Fix ethtool-coalesce.sh fail by installing ethtool-common.sh
The script "ethtool-common.sh" is not installed in INSTALL_PATH, and
triggers some errors when I try to run the test
'drivers/net/netdevsim/ethtool-coalesce.sh':

  TAP version 13
  1..1
  # timeout set to 600
  # selftests: drivers/net/netdevsim: ethtool-coalesce.sh
  # ./ethtool-coalesce.sh: line 4: ethtool-common.sh: No such file or directory
  # ./ethtool-coalesce.sh: line 25: make_netdev: command not found
  # ethtool: bad command line argument(s)
  # ./ethtool-coalesce.sh: line 124: check: command not found
  # ./ethtool-coalesce.sh: line 126: [: -eq: unary operator expected
  # FAILED /0 checks
  not ok 1 selftests: drivers/net/netdevsim: ethtool-coalesce.sh # exit=1

Install this file to avoid this error. After this patch:

  TAP version 13
  1..1
  # timeout set to 600
  # selftests: drivers/net/netdevsim: ethtool-coalesce.sh
  # PASSED all 22 checks
  ok 1 selftests: drivers/net/netdevsim: ethtool-coalesce.sh

Fixes: fbb8531e58 ("selftests: extract common functions in ethtool-common.sh")
Signed-off-by: Wang Liang <wangliang74@huawei.com>
Link: https://patch.msgid.link/20251030040340.3258110-1-wangliang74@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-10-31 17:41:54 -07:00
..
config selftests: move macsec offload tests from net/rtnetlink to drivers/net/netdvesim 2024-11-11 14:12:21 -08: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
devlink.sh netdevsim: add fw_update_flash_chunk_time_ms debugfs knobs 2025-07-23 17:08:56 -07: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_notifications.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
fib.sh selftests: netdevsim: Add test cases for route deletion failure 2022-07-29 12:21:02 +01: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
Makefile selftests: netdevsim: Fix ethtool-coalesce.sh fail by installing ethtool-common.sh 2025-10-31 17:41:54 -07:00
nexthop.sh selftests: netdevsim: Xfail nexthop test on slow machines 2025-08-05 16:11:03 -07:00
peer.sh selftests: netdevsim: improve lib.sh include in peer.sh 2025-06-18 18:30:51 -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 netdevsim: remove udp_ports_sleep 2025-06-18 18:53:51 -07:00