summaryrefslogtreecommitdiffstats
path: root/tests/regression/ip6/snat.t
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2015-07-15 15:24:18 +0200
committerFlorian Westphal <fw@strlen.de>2015-07-15 15:28:17 +0200
commit3b7a61c2980493087d447cf2379003655f0eebe9 (patch)
treebfcd76da15769af1116349ca4d6147345167f6f9 /tests/regression/ip6/snat.t
parentb2ad9e5273248f76aacc0485e3c8f3310c83857a (diff)
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 <fw@strlen.de>
Diffstat (limited to 'tests/regression/ip6/snat.t')
-rw-r--r--tests/regression/ip6/snat.t4
1 files changed, 2 insertions, 2 deletions
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