diff options
author | Matthieu Baerts <matthieu.baerts@tessares.net> | 2023-05-28 19:35:27 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-05-30 13:21:02 +0200 |
commit | d83013bdf90a7994a474b0e650a7fc94b0d4ded6 (patch) | |
tree | f9ed0a4b873a05b5eaf7e4ada6db96a9787fb39a /init | |
parent | d328fe87067480cf2bd0b58dab428a98d31dbb7e (diff) |
selftests: mptcp: connect: skip if MPTCP is not supported
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". Note that this check can also
mark the test as failed if 'SELFTESTS_MPTCP_LIB_EXPECT_ALL_FEATURES' env
var is set to 1: by doing that, we can make sure a test is not being
skipped by mistake.
A new shared file is added here to be able to re-used the same check in
the different selftests we have.
Link: https://github.com/multipath-tcp/mptcp_net-next/issues/368
Fixes: 048d19d444be ("mptcp: add basic kselftest for mptcp")
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions