]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: Update fib_nexthop_multiprefix to handle missing ping6
authorDavid Ahern <dsahern@gmail.com>
Tue, 17 Sep 2019 17:30:35 +0000 (10:30 -0700)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 21 Sep 2019 01:18:16 +0000 (18:18 -0700)
commita415a09de2e78c210e68cd999977c64f97e0e644
treeada8e656f4e4c16050b98d466bfead45ab42b28c
parente9d81b33809f6dbe31c66ec4dfeb375f110e95a4
selftests: Update fib_nexthop_multiprefix 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: 96c059d73efb ("selftests: Add test with multiple prefixes using single nexthop")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
tools/testing/selftests/net/fib_nexthop_multiprefix.sh