]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf66f64de978ec0cbd4fc5bc034adb8263244d90d
treefa364760ca18a790a3949caef5a3fc47bcc3ab1a
parent09c36dc3508ecedd7e4b08f5b92ab1d7c4aa7569
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