]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: A few improvements to fib_nexthops.sh
authorDavid Ahern <dsahern@gmail.com>
Wed, 22 Apr 2020 23:08:22 +0000 (17:08 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Apr 2020 02:59:57 +0000 (19:59 -0700)
commit479f429f594f0826070ee00db15158108771656c
tree238d3fd49ec19b69aefa62c2e1d200fc06921bea
parentf03d49b1b8a8a83c9c422f5f47c4d322b955986f
selftests: A few improvements to fib_nexthops.sh

Add nodad when adding IPv6 addresses and remove the sleep.

A recent change to iproute2 moved the 'pref medium' to the prefix
(where it belongs). Change the expected route check to strip
'pref medium' to be compatible with old and new iproute2.

Add IPv4 runtime test with an IPv6 address as the gateway in
the default route.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_nexthops.sh