From 7e1ff143442c6c9428f2a1cdb7c751216407437c Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 16 Jun 2017 21:26:41 +0200 Subject: tests: restrict meta nfproto test cases to inet family Followup patch will reject meta nfproto for non-inet families. Signed-off-by: Florian Westphal Acked-by: Pablo Neira Ayuso --- tests/py/inet/meta.t | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/py/inet/meta.t (limited to 'tests/py/inet/meta.t') diff --git a/tests/py/inet/meta.t b/tests/py/inet/meta.t new file mode 100644 index 00000000..723dd46c --- /dev/null +++ b/tests/py/inet/meta.t @@ -0,0 +1,10 @@ +:input;type filter hook input priority 0 +:ingress;type filter hook ingress device lo priority 0 + +*inet;test-inet;input + +meta nfproto ipv4;ok +meta nfproto ipv6;ok +meta nfproto {ipv4, ipv6};ok +meta nfproto != {ipv4, ipv6};ok + -- cgit v1.2.3