]> git.dujemihanovic.xyz Git - linux.git/commit
selftests: mptcp: include net_helper.sh file
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Tue, 10 Sep 2024 19:06:38 +0000 (21:06 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Sep 2024 22:18:20 +0000 (15:18 -0700)
commitc66c08e51b55c30ae333d6027e4dfda209710d46
tree3aba191b4bcbe6befffa56240ea7fe9ae2ef637c
parent1a5a2d19e827447e6a4d768504866e6820819cee
selftests: mptcp: include net_helper.sh file

Similar to the previous commit, the net_helper.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: 1af3bc912eac ("selftests: mptcp: lib: use wait_local_port_listen helper")
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20240910-net-selftests-mptcp-fix-install-v1-3-8f124aa9156d@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/Makefile