mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-19 04:44:09 +00:00
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: fbb8531e58bd ("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>
28 lines
476 B
Makefile
28 lines
476 B
Makefile
# SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
|
|
TEST_PROGS := \
|
|
devlink.sh \
|
|
devlink_in_netns.sh \
|
|
devlink_trap.sh \
|
|
ethtool-coalesce.sh \
|
|
ethtool-features.sh \
|
|
ethtool-fec.sh \
|
|
ethtool-pause.sh \
|
|
ethtool-ring.sh \
|
|
fib.sh \
|
|
fib_notifications.sh \
|
|
hw_stats_l3.sh \
|
|
macsec-offload.sh \
|
|
nexthop.sh \
|
|
peer.sh \
|
|
psample.sh \
|
|
tc-mq-visibility.sh \
|
|
udp_tunnel_nic.sh \
|
|
# end of TEST_PROGS
|
|
|
|
TEST_FILES := \
|
|
ethtool-common.sh
|
|
# end of TEST_FILES
|
|
|
|
include ../../../lib.mk
|