diff mbox series

[net-next,01/12] selftests: netfilter: conntrack_icmp_related.sh: move to lib.sh infra

Message ID 20240414225729.18451-2-fw@strlen.de (mailing list archive)
State Changes Requested
Delegated to: Netdev Maintainers
Headers show
Series selftests: netfilter: move to lib.sh infra | expand

Checks

Context Check Description
netdev/series_format success Posting correctly formatted
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 8 this patch: 8
netdev/build_tools success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers warning 4 maintainers not CCed: coreteam@netfilter.org kadlec@netfilter.org linux-kselftest@vger.kernel.org shuah@kernel.org
netdev/build_clang success Errors and warnings before: 8 this patch: 8
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 8 this patch: 8
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-04-15--15-00 (tests: 961)

Commit Message

Florian Westphal April 14, 2024, 10:57 p.m. UTC
Only relevant change is that netns names have random suffix names,
i.e. its safe to run this in parallel with other tests.

Signed-off-by: Florian Westphal <fw@strlen.de>
---
 tools/testing/selftests/net/netfilter/config | 2 ++
 1 file changed, 2 insertions(+)

Comments

Matthieu Baerts (NGI0) April 16, 2024, 8:44 a.m. UTC | #1
Hi Florian,

On 15/04/2024 00:57, Florian Westphal wrote:
> Only relevant change is that netns names have random suffix names,
> i.e. its safe to run this in parallel with other tests.

According to the patch title and description, it looks like something is
missing from the diff below where on the 'config' file is modified, no?

Same for patch 2/12 where we have the opposite modification.

(BTW, it is good to see all the shellcheck cleanups, my text editor will
show fewer warnings :) )

> 
> Signed-off-by: Florian Westphal <fw@strlen.de>
> ---
>  tools/testing/selftests/net/netfilter/config | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tools/testing/selftests/net/netfilter/config b/tools/testing/selftests/net/netfilter/config
> index 9df6a9f11384..a34c284242ec 100644
> --- a/tools/testing/selftests/net/netfilter/config
> +++ b/tools/testing/selftests/net/netfilter/config
> @@ -2,6 +2,8 @@ CONFIG_AUDIT=y
>  CONFIG_BRIDGE_EBT_BROUTE=m
>  CONFIG_BRIDGE_EBT_REDIRECT=m
>  CONFIG_BRIDGE_NETFILTER=m
> +CONFIG_NF_CONNTRACK=m
> +CONFIG_NF_CT_NETLINK=m
>  CONFIG_IP_NF_MATCH_RPFILTER=m
>  CONFIG_IP6_NF_MATCH_RPFILTER=m
>  CONFIG_IP_SCTP=m

Cheers,
Matt
Florian Westphal April 16, 2024, 9:57 a.m. UTC | #2
Matthieu Baerts <matttbe@kernel.org> wrote:
> According to the patch title and description, it looks like something is
> missing from the diff below where on the 'config' file is modified, no?
> 
> Same for patch 2/12 where we have the opposite modification.

Rebase artifact.  Jakub/netdev maintainers, please toss this series,
it needs more work, I can use this opportunity to also update a few
scripts to skip instead of failing when requirements are not met.
diff mbox series

Patch

diff --git a/tools/testing/selftests/net/netfilter/config b/tools/testing/selftests/net/netfilter/config
index 9df6a9f11384..a34c284242ec 100644
--- a/tools/testing/selftests/net/netfilter/config
+++ b/tools/testing/selftests/net/netfilter/config
@@ -2,6 +2,8 @@  CONFIG_AUDIT=y
 CONFIG_BRIDGE_EBT_BROUTE=m
 CONFIG_BRIDGE_EBT_REDIRECT=m
 CONFIG_BRIDGE_NETFILTER=m
+CONFIG_NF_CONNTRACK=m
+CONFIG_NF_CT_NETLINK=m
 CONFIG_IP_NF_MATCH_RPFILTER=m
 CONFIG_IP6_NF_MATCH_RPFILTER=m
 CONFIG_IP_SCTP=m