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>
# recognized in input (checked against standard syntax input/output)
# NFT_TEST_REQUIRES(NFT_TEST_HAVE_json)
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_table_flag_persist)
set -e
#!/bin/bash
-## requires EXPR
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_set_expr)
set -e
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_set_expr)
+
test_set_stmt() {
local i=$1
local stmt1=$2
# ways for declaration.
# NFT_TEST_REQUIRES(NFT_TEST_HAVE_ip_options)
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_bitshift)
set -e