diff options
author | Ido Schimmel <idosch@nvidia.com> | 2024-08-20 12:53:47 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-21 17:20:09 -0700 |
commit | f8669d7b5f5d2d88959456ae9123d8bb6fdc1ebe (patch) | |
tree | 94ef24f5210ee4fca1248e295aed3bedb71bc6bc /tools | |
parent | b128ed5ab27330deeeaf51ea8bb69f1442a96f7f (diff) | |
download | linux-stable-f8669d7b5f5d2d88959456ae9123d8bb6fdc1ebe.tar.gz linux-stable-f8669d7b5f5d2d88959456ae9123d8bb6fdc1ebe.tar.bz2 linux-stable-f8669d7b5f5d2d88959456ae9123d8bb6fdc1ebe.zip |
selftests: mlxsw: ethtool_lanes: Source ethtool lib from correct path
Source the ethtool library from the correct path and avoid the following
error:
./ethtool_lanes.sh: line 14: ./../../../net/forwarding/ethtool_lib.sh: No such file or directory
Fixes: 40d269c000bd ("selftests: forwarding: Move several selftests")
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/2112faff02e536e1ac14beb4c2be09c9574b90ae.1724150067.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/testing/selftests/drivers/net/mlxsw/ethtool_lanes.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/drivers/net/mlxsw/ethtool_lanes.sh b/tools/testing/selftests/drivers/net/mlxsw/ethtool_lanes.sh index 877cd6df94a1..fe905a7f34b3 100755 --- a/tools/testing/selftests/drivers/net/mlxsw/ethtool_lanes.sh +++ b/tools/testing/selftests/drivers/net/mlxsw/ethtool_lanes.sh @@ -2,6 +2,7 @@ # SPDX-License-Identifier: GPL-2.0 lib_dir=$(dirname $0)/../../../net/forwarding +ethtool_lib_dir=$(dirname $0)/../hw ALL_TESTS=" autoneg @@ -11,7 +12,7 @@ ALL_TESTS=" NUM_NETIFS=2 : ${TIMEOUT:=30000} # ms source $lib_dir/lib.sh -source $lib_dir/ethtool_lib.sh +source $ethtool_lib_dir/ethtool_lib.sh setup_prepare() { |