]> 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)
commitd548ed1905a30d5c357834f927bd6daa15a2d322
tree7d726b9a32a1a26806b0aeceade826258a415832
parent1b345d17fc15787fde7689ca240a9fcc058c5e4c
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