Skip to content

Commit f8669d7

Browse files
idoschkuba-moo
authored andcommitted
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: 40d269c ("selftests: forwarding: Move several selftests") Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/2112faff02e536e1ac14beb4c2be09c9574b90ae.1724150067.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <[email protected]>
1 parent b128ed5 commit f8669d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/testing/selftests/drivers/net/mlxsw/ethtool_lanes.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# SPDX-License-Identifier: GPL-2.0
33

44
lib_dir=$(dirname $0)/../../../net/forwarding
5+
ethtool_lib_dir=$(dirname $0)/../hw
56

67
ALL_TESTS="
78
autoneg
@@ -11,7 +12,7 @@ ALL_TESTS="
1112
NUM_NETIFS=2
1213
: ${TIMEOUT:=30000} # ms
1314
source $lib_dir/lib.sh
14-
source $lib_dir/ethtool_lib.sh
15+
source $ethtool_lib_dir/ethtool_lib.sh
1516

1617
setup_prepare()
1718
{

0 commit comments

Comments
 (0)