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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Oct 2019 18:25:53 +0000 (11:25 -0700)
commit37de3b354150450ba12275397155e68113e99901
treefa364760ca18a790a3949caef5a3fc47bcc3ab1a
parent0b834ba00ab5337e938c727e216e1f5249794717
selftests: fib_tests: add more tests for metric update

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>
tools/testing/selftests/net/fib_tests.sh