From 46b53873ed7b66dbd91e63dfe766e32dd3db53e9 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Tue, 24 Oct 2017 00:14:04 +0200 Subject: tests: nft removes required inet dependency expressions +inet/meta.t: line: 10: 'add rule inet t input meta nfproto ipv6 tcp dport 22': 'meta nfproto ipv6 tcp dport 22' mismatches 'tcp dport 22' +inet/meta.t: line: 11: 'add rule inet t input meta nfproto ipv4 tcp dport 22': 'meta nfproto ipv4 tcp dport 22' mismatches 'tcp dport 22' +inet/meta.t: line: 13: 'add rule inet t input meta nfproto ipv6 meta l4proto tcp': 'meta nfproto ipv6 meta l4proto 6' mismatches 'meta l4proto 6' +inet/ip_tcp.t: line: 20: 'src/nft add rule inet test input ether type ip tcp dport 22': 'ether type ip tcp dport 22' mismatches 'tcp dport 22' All of these are actual errors, i.e. meaning of rule is changed. Signed-off-by: Florian Westphal --- tests/py/inet/meta.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/py/inet/meta.t') diff --git a/tests/py/inet/meta.t b/tests/py/inet/meta.t index 723dd46c..bd225e3d 100644 --- a/tests/py/inet/meta.t +++ b/tests/py/inet/meta.t @@ -7,4 +7,8 @@ meta nfproto ipv4;ok meta nfproto ipv6;ok meta nfproto {ipv4, ipv6};ok meta nfproto != {ipv4, ipv6};ok - +meta nfproto ipv6 tcp dport 22;ok +meta nfproto ipv4 tcp dport 22;ok +meta nfproto ipv4 ip saddr 1.2.3.4;ok;ip saddr 1.2.3.4 +meta nfproto ipv6 meta l4proto tcp;ok;meta nfproto ipv6 meta l4proto 6 +meta nfproto ipv4 counter ip saddr 1.2.3.4;ok -- cgit v1.2.3