selftests: fib_tests: add more tests for metric update
authorPaolo Abeni <pabeni@redhat.com>
Sat, 26 Oct 2019 09:53:40 +0000 (11:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2019 10:27:50 +0000 (11:27 +0100)
commit0c3355cc8e1973cc4c22c1622f211fcbab793608
tree71655916c91d698b2aa8293da0df1890f39255df
parentb166e8838a974734f38750dcc55012babb0b51cf
selftests: fib_tests: add more tests for metric update

[ Upstream commit 37de3b354150450ba12275397155e68113e99901 ]

This patch adds two more tests to ipv4_addr_metric_test() to
explicitly cover the scenarios fixed by the previous patch.

Suggested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/net/fib_tests.sh