]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: nft_concat_range: add socat support
authorFlorian Westphal <fw@strlen.de>
Wed, 31 Aug 2022 13:12:45 +0000 (15:12 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 7 Sep 2022 13:06:26 +0000 (15:06 +0200)
commit7503d0dc8e57d41b28e4d1d630b692bd094ceccf
tree7d726b9a32a1a26806b0aeceade826258a415832
parent510269bce96e2bab58eb9e5eb8ae215c33a31235
selftests: nft_concat_range: add socat support

There are different flavors of 'nc' around, this script fails on
my test vm because 'nc' is 'nmap-ncat' which isn't 100% compatible.

Add socat support and use it if available.

Signed-off-by: Florian Westphal <fw@strlen.de>
tools/testing/selftests/netfilter/nft_concat_range.sh