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

BugLink: https://bugs.launchpad.net/bugs/2029808
commit 0f4955a40dafe18a1122e3714d8173e4b018e869 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: eedbc685321b ("selftests: add PM netlink functional tests")
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/pm_netlink.sh