selftests: Add test cases for `ip nexthop flush proto XX`
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 16 Sep 2019 12:26:50 +0000 (08:26 -0400)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 20 Sep 2019 01:35:55 +0000 (18:35 -0700)
commit864668bfc374dfbf4851ec828b9049e08f9057b1
treefd99593a5053ce6ab1315d74fd19900a24acb186
parent20b3f7d700130326db555d724e7507ce4606219a
selftests: Add test cases for `ip nexthop flush proto XX`

Add some test cases to allow the fib_nexthops.sh test code
to test the flushing of nexthops based upon the proto passed
in upon creation of the nexthop group.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
tools/testing/selftests/net/fib_nexthops.sh