selftests: nft_concat_range: Move option for 'list ruleset' before command
authorStefano Brivio <sbrivio@redhat.com>
Fri, 21 Feb 2020 02:11:56 +0000 (03:11 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 25 Feb 2020 12:01:07 +0000 (13:01 +0100)
commitd0820556507bd7aef4f3a615b1b6eb66eb9785fe
tree448088ee0a8a0d2984b420b46638de06db3de7f7
parent3614d05b5e6baf487e88fb114d884da172edd61a
selftests: nft_concat_range: Move option for 'list ruleset' before command

Before nftables commit fb9cea50e8b3 ("main: enforce options before
commands"), 'nft list ruleset -a' happened to work, but it's wrong
and won't work anymore. Replace it by 'nft -a list ruleset'.

Reported-by: Chen Yi <yiche@redhat.com>
Fixes: 611973c1e06f ("selftests: netfilter: Introduce tests for sets with range concatenation")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tools/testing/selftests/netfilter/nft_concat_range.sh