selftests/bpf: S/iptables/iptables-legacy/ in the bpf_nf and xdp_synproxy test
authorMartin KaFai Lau <martin.lau@kernel.org>
Wed, 12 Oct 2022 22:12:35 +0000 (15:12 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 13 Oct 2022 15:03:04 +0000 (08:03 -0700)
commitde9c8d848d90cf2e53aced50b350827442ca5a4f
tree0afe8e032601de7016ecaa700fd7a4ef611ed5ad
parentd31ada3b511141f4b78cae5a05cc2dad887c40b7
selftests/bpf: S/iptables/iptables-legacy/ in the bpf_nf and xdp_synproxy test

The recent vm image in CI has reported error in selftests that use
the iptables command.  Manu Bretelle has pointed out the difference
in the recent vm image that the iptables is sym-linked to the iptables-nft.
With this knowledge,  I can also reproduce the CI error by manually running
with the 'iptables-nft'.

This patch is to replace the iptables command with iptables-legacy
to unblock the CI tests.

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/bpf/20221012221235.3529719-1-martin.lau@linux.dev
tools/testing/selftests/bpf/prog_tests/bpf_nf.c
tools/testing/selftests/bpf/prog_tests/xdp_synproxy.c