]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e01004c503ec30bd22018693b887c063c0668a5
tree84862b4093764135e9d2f62eb439710089fc28fc
parentb6d135438bd09c1b5f6b71e09fd3319eeb13b08a
selftests: net: switch to socat in the GSO GRE test

Commit 89cdce434a0a ("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: 628f434d2129 ("selftests: add simple GSO GRE test")
Fixes: 89cdce434a0a ("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