]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: Update fib_tests to handle missing ping6
authorDavid Ahern <dsahern@gmail.com>
Tue, 17 Sep 2019 17:30:21 +0000 (10:30 -0700)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 21 Sep 2019 01:13:32 +0000 (18:13 -0700)
commite9d81b33809f6dbe31c66ec4dfeb375f110e95a4
tree7c0393825e52ef1b984427593ed6b30562b9b2ea
parentdd87037c247dc59415556468d3d6baefa35f8083
selftests: Update fib_tests to handle missing ping6

Some distributions (e.g., debian buster) do not install ping6. Re-use
the hook in pmtu.sh to detect this and fallback to ping.

Fixes: a4d3ea0b52ff ("fib_tests: Add tests for metrics on routes")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
tools/testing/selftests/net/fib_tests.sh