]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:25:42 +0000 (04:25 -0400)
commit1f10105ad990605d06e86c9c965cb5c34fad95ac
treefde338259c4afe2d178085fe4c75b6b201a0da12
parent24ed8b25588e172363db22cb35724f6f6d8b09fb
selftests: Update fib_tests to handle missing ping6

BugLink: https://bugs.launchpad.net/bugs/1848046
[ Upstream commit 0360894a05ed52be268e3c4d40b2df9d94975fa6 ]

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: a0e11da78f48 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
tools/testing/selftests/net/fib_tests.sh