]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Merge branch 'selftests-mptcp-share-code-and-fix-shellcheck-warnings'
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Mar 2024 05:06:58 +0000 (21:06 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Mar 2024 05:06:59 +0000 (21:06 -0800)
commitd3423ed9b89d27d0fd8386dbb9bee89728c92b87
tree0577557c7eb4ec214a5b517b98a50d644db9de7d
parentc3874bbec942dad35768d9f2e7418d207fb75844
parentc66fb480a3302577f657a5d4f5308312bf1b52f8
Merge branch 'selftests-mptcp-share-code-and-fix-shellcheck-warnings'

Matthieu Baerts says:

====================
selftests: mptcp: share code and fix shellcheck warnings

This series cleans MPTCP selftests code.

Patch 1 stops using 'iptables-legacy' if available, but uses 'iptables',
which is likely 'iptables-nft' behind.

Patches 2, 4 and 6 move duplicated code to mptcp_lib.sh. Patch 3 is a
preparation for patch 4, and patch 5 adds generic actions at the
creation and deletion of netns.

Patches 7 to 11 disable a few shellcheck warnings, and fix the rest, so
it is easy to spot real issues later. MPTCP CI is checking that now.

Patch 12 avoids redoing some actions at init time twice, e.g. restarting
the pm events tool.

v1: https://lore.kernel.org/r/20240305-upstream-net-next-20240304-selftests-mptcp-shared-code-shellcheck-v1-0-66618ea5504e@kernel.org
====================

Link: https://lore.kernel.org/r/20240306-upstream-net-next-20240304-selftests-mptcp-shared-code-shellcheck-v2-0-bc79e6e5e6a0@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>