]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: netfilter: switch to socat for tests using -q option
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 27 Dec 2021 03:52:53 +0000 (11:52 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 6 Jan 2022 09:43:18 +0000 (10:43 +0100)
commit8c83536a73d9efadd04265d8bd016945fe61412f
tree3c26f705511a0e1d56514a55081c395bc564860b
parent8d7a58463d9c27f849ae038d402a020ae1c065b6
selftests: netfilter: switch to socat for tests using -q option

The nc cmd(nmap-ncat) that distributed with Fedora/Red Hat does not have
option -q. This make some tests failed with:

nc: invalid option -- 'q'

Let's switch to socat which is far more dependable.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tools/testing/selftests/netfilter/ipip-conntrack-mtu.sh
tools/testing/selftests/netfilter/nf_nat_edemux.sh