linux-xiaomi-chiron/tools/testing/selftests/drivers/net/bonding
Benjamin Poirier ae108c48b5 selftests: net: Fix cross-tree inclusion of scripts
When exporting and running a subset of selftests via kselftest, files from
parts of the source tree which were not exported are not available. A few
tests are trying to source such files. Address the problem by using
symlinks.

The problem can be reproduced by running:
make -C tools/testing/selftests gen_tar TARGETS="drivers/net/bonding"
[... extract archive ...]
./run_kselftest.sh

or:
make kselftest KBUILD_OUTPUT=/tmp/kselftests TARGETS="drivers/net/bonding"

Fixes: bbb774d921 ("net: Add tests for bonding and team address list management")
Fixes: eccd0a80dc ("selftests: net: dsa: add a stress test for unlocked FDB operations")
Link: https://lore.kernel.org/netdev/40f04ded-0c86-8669-24b1-9a313ca21076@redhat.com/
Reported-by: Jonathan Toppins <jtoppins@redhat.com>
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Reviewed-by: Jonathan Toppins <jtoppins@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-10-20 21:09:22 -07:00
..
bond-arp-interval-causes-panic.sh selftests: bonding: cause oops in bond_rr_gen_slave_id 2022-09-22 06:39:40 -07:00
bond-break-lacpdu-tx.sh
bond-lladdr-target.sh selftests/bonding: add a test for bonding lladdr target 2022-09-20 08:57:23 -07:00
config net: Add tests for bonding and team address list management 2022-09-16 14:34:01 +01:00
dev_addr_lists.sh selftests: net: Fix cross-tree inclusion of scripts 2022-10-20 21:09:22 -07:00
lag_lib.sh net: Add tests for bonding and team address list management 2022-09-16 14:34:01 +01:00
Makefile selftests: net: Fix cross-tree inclusion of scripts 2022-10-20 21:09:22 -07:00
net_forwarding_lib.sh selftests: net: Fix cross-tree inclusion of scripts 2022-10-20 21:09:22 -07:00
settings