summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/nft-f')
-rwxr-xr-xtests/shell/testcases/nft-f/0017ct_timeout_obj_016
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/shell/testcases/nft-f/0017ct_timeout_obj_0 b/tests/shell/testcases/nft-f/0017ct_timeout_obj_0
new file mode 100755
index 00000000..1d03dbfc
--- /dev/null
+++ b/tests/shell/testcases/nft-f/0017ct_timeout_obj_0
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+EXPECTED='table ip filter {
+ ct timeout cttime{
+ protocol tcp;
+ l3proto ip
+ policy = {established: 123, close: 12}
+ }
+
+ chain c {
+ ct timeout set "cttime"
+ }
+}'
+
+set -e
+$NFT -f - <<< $EXPECTED