]> asedeno.scripts.mit.edu Git - linux.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)
commite84622ce24482f6e9c1bf29d3bdd556eb587ff41
treeada8e656f4e4c16050b98d466bfead45ab42b28c
parent0360894a05ed52be268e3c4d40b2df9d94975fa6
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: 735ab2f65dce ("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