selftests: netfilter: conntrack_tcp_unreplied.sh: move to lib.sh infra
authorFlorian Westphal <fw@strlen.de>
Thu, 11 Apr 2024 23:36:10 +0000 (01:36 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Apr 2024 00:51:25 +0000 (17:51 -0700)
commit6f864d391b299bdc2154162b50c39c04414dc38c
tree9c11aecf7ec1dd047a91f8ee95670e53a383e1d3
parent96f6c27371a94ed2b15cf545e039ea13c292fa37
selftests: netfilter: conntrack_tcp_unreplied.sh: move to lib.sh infra

Replace nc with socat. Too many different implementations of nc
are around with incompatible options ("nc: cannot use -p and -l").

Signed-off-by: Florian Westphal <fw@strlen.de>
Link: https://lore.kernel.org/r/20240411233624.8129-6-fw@strlen.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/netfilter/conntrack_tcp_unreplied.sh