]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a8dd3cece1e1ddc0efd01a1745f164c48faa362
tree448088ee0a8a0d2984b420b46638de06db3de7f7
parent2f87b418671d0d1adcb8d9ace398c99534fb773c
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: eac3879fe91f ("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