summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/cttimeout.nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-09-18 12:28:25 +0200
committerFlorian Westphal <fw@strlen.de>2023-09-18 13:08:55 +0200
commit45060a09bc3ad1c4bcfd4ad91863e00ab58efb5b (patch)
tree07ee336664a92b06c1a680691c575552de3e3b06 /tests/shell/features/cttimeout.nft
parent5b7d55bafeb306f95b3a16b28c7d00bf79635aab (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/cttimeout.nft')
-rw-r--r--tests/shell/features/cttimeout.nft8
1 files changed, 8 insertions, 0 deletions
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 }
+ }
+}