From 3b7a61c2980493087d447cf2379003655f0eebe9 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 15 Jul 2015 15:24:18 +0200 Subject: tests: avoid more warnings ... 2001:838:35f:1::-2001:838:35f:2:: :80-100' mismatches ... 2001:838:35f:1::-2001:838:35f:2:::80-100' nft accepts both, so just alter test to not complain. Also, fix test script to display the expected output rather than the input. Otherwise, a rule like some_input;ok;expected_output may display nonsensical message like warning: some_input mismatches some_input This also fixes the icmpv6 test accordingly, nft displays ranges correctly. Signed-off-by: Florian Westphal --- tests/regression/ip6/snat.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/regression/ip6/snat.t') diff --git a/tests/regression/ip6/snat.t b/tests/regression/ip6/snat.t index 73452752..44ca9e4f 100644 --- a/tests/regression/ip6/snat.t +++ b/tests/regression/ip6/snat.t @@ -2,5 +2,5 @@ - *inet;test-inet :postrouting;type nat hook postrouting priority 0 -tcp dport 80-90 snat 2001:838:35f:1::-2001:838:35f:2:: :80-100;ok -tcp dport 80-90 snat 2001:838:35f:1::-2001:838:35f:2:: :100;ok +tcp dport 80-90 snat 2001:838:35f:1::-2001:838:35f:2:: :80-100;ok;tcp dport 80-90 snat 2001:838:35f:1::-2001:838:35f:2:::80-100 +tcp dport 80-90 snat 2001:838:35f:1::-2001:838:35f:2:::100;ok -- cgit v1.2.3