selftests: Add torture tests to nexthop tests
authorDavid Ahern <dsahern@kernel.org>
Thu, 28 May 2020 00:03:44 +0000 (18:03 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:00:31 +0000 (11:00 -0700)
commit7c741868ceab825bb99cf6c72859e9364d54a07c
tree2870d5693490e5200db27159d50c3ebb78407267
parentae920e83a079bc0ed883d6b709f8f6433ce86745
selftests: Add torture tests to nexthop tests

Add Nik's torture tests as a new set to stress the replace and cleanup
paths.

Torture test created by Nikolay Aleksandrov and then I adapted to
selftest and added IPv6 version.

Signed-off-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_nexthops.sh