mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
Merge branch 'selftests-mptcp-connect-cover-alt-modes'
Matthieu Baerts says: ==================== selftests: mptcp: connect: cover alt modes mptcp_connect.sh can be executed manually with "-m <MODE>" and "-C" to make sure everything works as expected when using "mmap" and "sendfile" modes instead of "poll", and with the MPTCP checksum support. These modes should be validated, but they are not when the selftests are executed via the kselftest helpers. It means that most CIs validating these selftests, like NIPA for the net development trees and LKFT for the stable ones, are not covering these modes. To fix that, new test programs have been added, simply calling mptcp_connect.sh with the right parameters. The first patch can be backported up to v5.6, and the second one up to v5.14. v1: https://lore.kernel.org/20250714-net-mptcp-sft-connect-alt-v1-0-bf1c5abbe575@kernel.org ==================== Link: https://patch.msgid.link/20250715-net-mptcp-sft-connect-alt-v2-0-8230ddd82454@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
53b2fb6b05
|
|
@ -4,7 +4,8 @@ top_srcdir = ../../../../..
|
|||
|
||||
CFLAGS += -Wall -Wl,--no-as-needed -O2 -g -I$(top_srcdir)/usr/include $(KHDR_INCLUDES)
|
||||
|
||||
TEST_PROGS := mptcp_connect.sh pm_netlink.sh mptcp_join.sh diag.sh \
|
||||
TEST_PROGS := mptcp_connect.sh mptcp_connect_mmap.sh mptcp_connect_sendfile.sh \
|
||||
mptcp_connect_checksum.sh pm_netlink.sh mptcp_join.sh diag.sh \
|
||||
simult_flows.sh mptcp_sockopt.sh userspace_pm.sh
|
||||
|
||||
TEST_GEN_FILES = mptcp_connect pm_nl_ctl mptcp_sockopt mptcp_inq mptcp_diag
|
||||
|
|
|
|||
5
tools/testing/selftests/net/mptcp/mptcp_connect_checksum.sh
Executable file
5
tools/testing/selftests/net/mptcp/mptcp_connect_checksum.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
MPTCP_LIB_KSFT_TEST="$(basename "${0}" .sh)" \
|
||||
"$(dirname "${0}")/mptcp_connect.sh" -C "${@}"
|
||||
5
tools/testing/selftests/net/mptcp/mptcp_connect_mmap.sh
Executable file
5
tools/testing/selftests/net/mptcp/mptcp_connect_mmap.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
MPTCP_LIB_KSFT_TEST="$(basename "${0}" .sh)" \
|
||||
"$(dirname "${0}")/mptcp_connect.sh" -m mmap "${@}"
|
||||
5
tools/testing/selftests/net/mptcp/mptcp_connect_sendfile.sh
Executable file
5
tools/testing/selftests/net/mptcp/mptcp_connect_sendfile.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
MPTCP_LIB_KSFT_TEST="$(basename "${0}" .sh)" \
|
||||
"$(dirname "${0}")/mptcp_connect.sh" -m sendfile "${@}"
|
||||
Loading…
Reference in New Issue
Block a user