selftests: Drop 'pref medium' in route checks
authorDavid Ahern <dsahern@gmail.com>
Sun, 17 May 2020 18:00:33 +0000 (12:00 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 May 2020 19:26:55 +0000 (12:26 -0700)
commiteb682677f59e809d8e06c218b565aeb9723a4ad3
treed3dfb5f617fd163029c7edf39ebb5b1f13b65e16
parent2f6ca9570d317d2934dc53b4847c4b5ca119ed11
selftests: Drop 'pref medium' in route checks

The 'pref medium' attribute was moved in iproute2 to be near the prefix
which is where it applies versus after the last nexthop. The nexthop
tests were updated to drop the string from route checking, but it crept
in again with the compat tests.

Fixes: 4dddb5be136a ("selftests: net: add new testcases for nexthop API compat mode sysctl")
Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_nexthops.sh