summaryrefslogtreecommitdiffstats
path: root/tests/py/any/ct.t
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-05-24 21:12:56 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-05-31 17:57:31 +0200
commit27f6a4c68b4fdc351890d9a675603fefc48f7353 (patch)
treeb4c1cd44b2d5758b4b93da19acb28db42338fa64 /tests/py/any/ct.t
parenta35e3a0cdc63a1e177a9950e3f8e73ce862d3163 (diff)
tests: replace single element sets
Add at least two elements to sets. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/any/ct.t')
-rw-r--r--tests/py/any/ct.t9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/py/any/ct.t b/tests/py/any/ct.t
index b5c13524..81d937d9 100644
--- a/tests/py/any/ct.t
+++ b/tests/py/any/ct.t
@@ -73,17 +73,16 @@ ct expiration 33-45;ok;ct expiration 33s-45s
ct expiration != 33-45;ok;ct expiration != 33s-45s
ct expiration {33, 55, 67, 88};ok;ct expiration { 1m7s, 33s, 55s, 1m28s}
ct expiration != {33, 55, 67, 88};ok;ct expiration != { 1m7s, 33s, 55s, 1m28s}
-ct expiration {33-55};ok;ct expiration { 33s-55s}
-ct expiration != {33-55};ok;ct expiration != { 33s-55s}
+ct expiration {33-55, 66-88};ok;ct expiration { 33s-55s, 1m6s-1m28s}
+ct expiration != {33-55, 66-88};ok;ct expiration != { 33s-55s, 1m6s-1m28s}
ct helper "ftp";ok
ct helper "12345678901234567";fail
ct helper "";fail
-ct state . ct mark { new . 0x12345678};ok
ct state . ct mark { new . 0x12345678, new . 0x34127856, established . 0x12785634};ok
-ct direction . ct mark { original . 0x12345678};ok
-ct state . ct mark vmap { new . 0x12345678 : drop};ok
+ct direction . ct mark { original . 0x12345678, reply . 0x87654321};ok
+ct state . ct mark vmap { new . 0x12345678 : drop, established . 0x87654321 : accept};ok
ct original bytes > 100000;ok
ct reply packets < 100;ok