diff options
author | Florian Westphal <fw@strlen.de> | 2023-09-18 12:28:25 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-18 13:08:55 +0200 |
commit | 45060a09bc3ad1c4bcfd4ad91863e00ab58efb5b (patch) | |
tree | 07ee336664a92b06c1a680691c575552de3e3b06 /tests/shell/features | |
parent | 5b7d55bafeb306f95b3a16b28c7d00bf79635aab (diff) |
tests/shell: skip test cases if ct expectation and/or timeout lacks support
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'tests/shell/features')
-rw-r--r-- | tests/shell/features/ctexpect.nft | 10 | ||||
-rw-r--r-- | tests/shell/features/cttimeout.nft | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/shell/features/ctexpect.nft b/tests/shell/features/ctexpect.nft new file mode 100644 index 00000000..02c3dfd7 --- /dev/null +++ b/tests/shell/features/ctexpect.nft @@ -0,0 +1,10 @@ +# 857b46027d6f ("netfilter: nft_ct: add ct expectations support") +# v5.3-rc1~140^2~153^2~19 +table t { + ct expectation ctexpect { + protocol tcp + dport 5432 + timeout 1h + size 12; + } +} diff --git a/tests/shell/features/cttimeout.nft b/tests/shell/features/cttimeout.nft new file mode 100644 index 00000000..4be58cd3 --- /dev/null +++ b/tests/shell/features/cttimeout.nft @@ -0,0 +1,8 @@ +# 7e0b2b57f01d ("netfilter: nft_ct: add ct timeout support") +# v4.19-rc1~140^2~64^2~3 +table t { + ct timeout cttime { + protocol tcp; + policy = {established: 120 } + } +} |