]> 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)
commit7cd3145ed0df0c90b3fa50517c1fa55f663cf23e
tree238d3fd49ec19b69aefa62c2e1d200fc06921bea
parent93c2ab562ebc31aa7f49bbf5dfbdf97ad535028d
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