From: Jiri Pirko Date: Tue, 12 Feb 2019 16:29:54 +0000 (+0000) Subject: selftests: mlxsw: avoid double sourcing of lib.sh X-Git-Tag: v5.1-rc1~178^2~271^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f5c7bd93c4f1ddf3a3029f56b277a0013fe96886;p=linux.git 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 Signed-off-by: Ido Schimmel Signed-off-by: David S. Miller --- diff --git a/tools/testing/selftests/drivers/net/mlxsw/spectrum/resource_scale.sh b/tools/testing/selftests/drivers/net/mlxsw/spectrum/resource_scale.sh index a0a80e1a69e8..e7ffc79561b7 100755 --- a/tools/testing/selftests/drivers/net/mlxsw/spectrum/resource_scale.sh +++ b/tools/testing/selftests/drivers/net/mlxsw/spectrum/resource_scale.sh @@ -2,7 +2,6 @@ # SPDX-License-Identifier: GPL-2.0 NUM_NETIFS=6 -source ../../../../net/forwarding/lib.sh source ../../../../net/forwarding/tc_common.sh source devlink_lib_spectrum.sh