Skip to content

Commit 1a5a2d1

Browse files
matttbekuba-moo
authored andcommitted
selftests: mptcp: include lib.sh file
The lib.sh file from the parent directory is used by the MPTCP selftests and it needs to be present when running the tests. This file then needs to be listed in the Makefile to be included when exporting or installing the tests, e.g. with: make -C tools/testing/selftests \ TARGETS=net/mptcp \ install INSTALL_PATH=$KSFT_INSTALL_PATH cd $KSFT_INSTALL_PATH ./run_kselftest.sh -c net/mptcp Fixes: f265d31 ("selftests: mptcp: lib: use setup/cleanup_ns helpers") Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/20240910-net-selftests-mptcp-fix-install-v1-2-8f124aa9156d@kernel.org Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 49ac6f0 commit 1a5a2d1

File tree

1 file changed

+2
-0
lines changed
  • tools/testing/selftests/net/mptcp

1 file changed

+2
-0
lines changed

tools/testing/selftests/net/mptcp/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ TEST_GEN_FILES = mptcp_connect pm_nl_ctl mptcp_sockopt mptcp_inq
1111

1212
TEST_FILES := mptcp_lib.sh settings
1313

14+
TEST_INCLUDES := ../lib.sh
15+
1416
EXTRA_CLEAN := *.pcap
1517

1618
include ../../lib.mk

0 commit comments

Comments
 (0)