selftests: team: Add shared library scripts to TEST_INCLUDES
In order to avoid duplicated files when both the team and bonding tests are exported together, add lag_lib.sh to TEST_INCLUDES. Do likewise for net/forwarding/lib.sh regarding team and forwarding tests. Reviewed-by: Petr Machata <petrm@nvidia.com> Tested-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6500780cff
commit
975b4a8b68
@ -3,8 +3,8 @@
|
||||
|
||||
TEST_PROGS := dev_addr_lists.sh
|
||||
|
||||
TEST_FILES := \
|
||||
lag_lib.sh \
|
||||
net_forwarding_lib.sh
|
||||
TEST_INCLUDES := \
|
||||
../bonding/lag_lib.sh \
|
||||
../../../net/forwarding/lib.sh
|
||||
|
||||
include ../../../lib.mk
|
||||
|
@ -11,9 +11,9 @@ ALL_TESTS="
|
||||
REQUIRE_MZ=no
|
||||
NUM_NETIFS=0
|
||||
lib_dir=$(dirname "$0")
|
||||
source "$lib_dir"/net_forwarding_lib.sh
|
||||
source "$lib_dir"/../../../net/forwarding/lib.sh
|
||||
|
||||
source "$lib_dir"/lag_lib.sh
|
||||
source "$lib_dir"/../bonding/lag_lib.sh
|
||||
|
||||
|
||||
destroy()
|
||||
|
@ -1 +0,0 @@
|
||||
../bonding/lag_lib.sh
|
@ -1 +0,0 @@
|
||||
../../../net/forwarding/lib.sh
|
Loading…
x
Reference in New Issue
Block a user