]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: check for features not available in 5.4
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 29 May 2025 09:49:18 +0000 (11:49 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 29 May 2025 10:17:41 +0000 (12:17 +0200)
commit883f79de486604e310c5093cfbe4d704794e4825
tree6259f0ee29c1285267e7e7636f75bf0c84015de6
parent610089f273c968c983d965f3cac42e4d9784cde8
tests: shell: check for features not available in 5.4

5.4 -stable kernels report failures in these tests, this kernel version
is lacking these feature.

The bitshift requirement is needed by this ruleset:

 table ip x {
        set s13 {
                typeof tcp option mptcp subtype
                elements = { mp-join, dss }
        }

        chain y {
                tcp option mptcp subtype @s13 accept
        }
 }

which uses bitshift in its bytecode.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/json/single_flag
tests/shell/testcases/sets/elem_limit_0
tests/shell/testcases/sets/set_stmt
tests/shell/testcases/sets/typeof_sets_0