]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: udpgro_fwd.sh: explicitly checking the available ping feature
authorJianguo Wu <wujianguo@chinatelecom.cn>
Fri, 31 Dec 2021 02:01:08 +0000 (10:01 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 1 Jan 2022 02:36:41 +0000 (18:36 -0800)
commit8089e9f700b300159c3456a06c092d2c0ca4c0bd
treeae6d85bf785dd865d27d461f6ca92261de579125
parent76c22dbe0f96f6ba5973249e10e6c5ff4a137de9
selftests: net: udpgro_fwd.sh: explicitly checking the available ping feature

As Paolo pointed out, the result of ping IPv6 address depends on
the running distro. So explicitly checking the available ping feature,
as e.g. do the bareudp.sh self-tests.

Fixes: c2c71745455b ("selftests: net: using ping6 for IPv6 in udpgro_fwd.sh")
Signed-off-by: Jianguo Wu <wujianguo@chinatelecom.cn>
Link: https://lore.kernel.org/r/825ee22b-4245-dbf7-d2f7-a230770d6e21@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/udpgro_fwd.sh