summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/ctexpect.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/ctexpect.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/ctexpect.nft')
-rw-r--r--tests/shell/features/ctexpect.nft10
1 files changed, 10 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;
+ }
+}