summaryrefslogtreecommitdiffstats
path: root/tests/regression/inet/tcp.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/inet/tcp.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/inet/tcp.t')
-rw-r--r--tests/regression/inet/tcp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regression/inet/tcp.t b/tests/regression/inet/tcp.t
index 5eb3882c..95267da5 100644
--- a/tests/regression/inet/tcp.t
+++ b/tests/regression/inet/tcp.t
@@ -33,7 +33,7 @@ tcp sport 8080 drop;ok
tcp sport 1024 tcp dport 22;ok
tcp sport 1024 tcp dport 22 tcp sequence 0;ok
-tcp sequence 0 tcp sport 1024 tcp dport 22;ok
+tcp sequence 0 tcp sport 1024 tcp dport 22;ok;tcp sport 1024 tcp dport 22 tcp sequence 0
tcp sequence 0 tcp sport { 1024, 1022} tcp dport 22;ok
tcp sequence 22;ok