From 1441728b56f3ed8288b7b3bab0422adf1f90cecc Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sun, 24 Jan 2016 13:29:55 +0100 Subject: tests: add two map test cases One normal map lookup, one with an explicit binop. The latter is supposed to also work with the followup patch applied. Signed-off-by: Florian Westphal Acked-by: Pablo Neira Ayuso --- tests/py/ip6/map.t | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/py/ip6/map.t (limited to 'tests/py/ip6/map.t') diff --git a/tests/py/ip6/map.t b/tests/py/ip6/map.t new file mode 100644 index 00000000..3377f8d3 --- /dev/null +++ b/tests/py/ip6/map.t @@ -0,0 +1,5 @@ +:input;type filter hook input priority 0 +*ip6;test-ip6;input + +mark set ip6 saddr and ::ffff map { ::2 : 0x0000002a, ::ffff : 0x00000017};ok;mark set ip6 saddr & ::ffff map { ::2 : 0x0000002a, ::ffff : 0x00000017} + -- cgit v1.2.3