selftests: mlxsw: avoid double sourcing of lib.sh
Don't source lib.sh 2 times and make the script work with ifnames passed on the command line. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
384c2f7473
commit
f5c7bd93c4
@ -2,7 +2,6 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
NUM_NETIFS=6
|
NUM_NETIFS=6
|
||||||
source ../../../../net/forwarding/lib.sh
|
|
||||||
source ../../../../net/forwarding/tc_common.sh
|
source ../../../../net/forwarding/tc_common.sh
|
||||||
source devlink_lib_spectrum.sh
|
source devlink_lib_spectrum.sh
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user