selftests: net: switch to socat in the GSO GRE test
authorJakub Kicinski <kuba@kernel.org>
Thu, 11 Nov 2021 16:29:29 +0000 (08:29 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Nov 2021 03:59:01 +0000 (19:59 -0800)
commit0cda7d4bac5fd29dceb13df26083333fa99d6bb4
tree84862b4093764135e9d2f62eb439710089fc28fc
parent87530779de0440f1ca3cd727299b1a78a9e564d0
selftests: net: switch to socat in the GSO GRE test

Commit a985442fdecb ("selftests: net: properly support IPv6 in GSO GRE test")
is not compatible with:

  Ncat: Version 7.80 ( https://nmap.org/ncat )

(which is distributed with Fedora/Red Hat), tests fail with:

  nc: invalid option -- 'N'

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

Fixes: 025efa0a82df ("selftests: add simple GSO GRE test")
Fixes: a985442fdecb ("selftests: net: properly support IPv6 in GSO GRE test")
Tested-by: Andrea Righi <andrea.righi@canonical.com>
Link: https://lore.kernel.org/r/20211111162929.530470-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/gre_gso.sh