From b716c2b48a77fd0c01be128d704d9cd2cd5243b3 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 3 Sep 2015 18:23:18 +0200 Subject: tests: add concatenations and maps; combine them too This patch adds simple tests for concatenation and maps, including more advanced tests that combine them. Signed-off-by: Pablo Neira Ayuso --- tests/regression/any/ct.t | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/regression/any/ct.t') diff --git a/tests/regression/any/ct.t b/tests/regression/any/ct.t index 6ec05261..ab4b167d 100644 --- a/tests/regression/any/ct.t +++ b/tests/regression/any/ct.t @@ -105,3 +105,8 @@ ct helper "12345678901234567";fail # :1:37-39: Error: datatype mismatch, expected invalid, expression has type Internet protocol # add rule ip test input ct proto-dst udp # ~~~~~~~~~~~~ ^^^ + +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 -- cgit v1.2.3