aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-02-12 16:29:54 +0000
committerDavid S. Miller <davem@davemloft.net>2019-02-12 12:03:29 -0500
commitf5c7bd93c4f1ddf3a3029f56b277a0013fe96886 (patch)
tree398de0c28d84bcb3f601eb3182ff9fb6d9de6e1f /tools/testing/selftests/drivers
parentmlxsw: spectrum_flower: Fix VLAN modify action support (diff)
downloadlinux-dev-f5c7bd93c4f1ddf3a3029f56b277a0013fe96886.tar.xz
linux-dev-f5c7bd93c4f1ddf3a3029f56b277a0013fe96886.zip
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>
Diffstat (limited to 'tools/testing/selftests/drivers')
-rwxr-xr-xtools/testing/selftests/drivers/net/mlxsw/spectrum/resource_scale.sh1
1 files changed, 0 insertions, 1 deletions
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