]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: mptcp: join: skip if MPTCP is not supported
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Sun, 28 May 2023 17:35:29 +0000 (19:35 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 4 Sep 2023 09:10:32 +0000 (11:10 +0200)
commitff962cdac751d1dbff85a25db3d989411e3d0a33
treeb7034fb0384fc66910a7d8647e6f9c611a3fa61c
parent910583d8bd198dcd573d7f4679429596150c1066
selftests: mptcp: join: skip if MPTCP is not supported

BugLink: https://bugs.launchpad.net/bugs/2029808
commit 715c78a82e00f848f99ef76e6f6b89216ccba268 upstream.

Selftests are supposed to run on any kernels, including the old ones not
supporting MPTCP.

A new check is then added to make sure MPTCP is supported. If not, the
test stops and is marked as "skipped".

Link: https://github.com/multipath-tcp/mptcp_net-next/issues/368
Fixes: b08fbf241064 ("selftests: add test-cases for MPTCP MP_JOIN")
Cc: stable@vger.kernel.org
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
tools/testing/selftests/net/mptcp/mptcp_join.sh