summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/objects.t.payload
diff options
context:
space:
mode:
authorHarsha Sharma <harshasharmaiitr@gmail.com>2018-08-14 01:07:55 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-31 18:40:13 +0200
commit5df2f2e203230eeecb8617992741652226fc3ca4 (patch)
treea608b62954aa11c36aa0ae84461a3023292957af /tests/py/ip/objects.t.payload
parentc7c94802679cd9ba09aa78f332f533ecae1b9e0c (diff)
tests: py: add ct timeout tests
Add test for adding ct timeout objects and assigning it via rule. Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip/objects.t.payload')
-rw-r--r--tests/py/ip/objects.t.payload4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/py/ip/objects.t.payload b/tests/py/ip/objects.t.payload
index 193d7972..719b6c37 100644
--- a/tests/py/ip/objects.t.payload
+++ b/tests/py/ip/objects.t.payload
@@ -59,3 +59,7 @@ ip test-ip4 output
[ cmp eq reg 1 0x00000006 ]
[ payload load 2b @ transport header + 2 => reg 1 ]
[ objref sreg 1 set __objmap%d ]
+
+# ct timeout set "cttime1"
+ip test-ip4 output
+ [ objref type 7 name cttime1 ]