]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: mptcp: userspace pm: skip if 'ip' tool is unavailable
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Thu, 8 Jun 2023 16:38:54 +0000 (18:38 +0200)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Mon, 2 Oct 2023 15:19:16 +0000 (17:19 +0200)
commit5298b51fa6d477204588dedba8d633c68684512b
tree46329e23eef15a298ec48f60e85372bacdd9d3f1
parent2284a1996b0a716c1744904bf5f5f173963ba92d
selftests: mptcp: userspace pm: skip if 'ip' tool is unavailable

BugLink: https://bugs.launchpad.net/bugs/2033931
commit 723d6b9b12338c1caf06bf6fe269962ef04e2c71 upstream.

When a required tool is missing, the return code 4 (SKIP) should be
returned instead of 1 (FAIL).

Link: https://github.com/multipath-tcp/mptcp_net-next/issues/368
Fixes: 259a834fadda ("selftests: mptcp: functional tests for the userspace PM type")
Cc: stable@vger.kernel.org
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
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/userspace_pm.sh