]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: initial fib rule tests
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 22 May 2018 21:03:29 +0000 (14:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 19:14:12 +0000 (15:14 -0400)
commit00c899bb717323831d5ad371e6558ee9119c3a6a
tree77f7967d170900bd5a53c153f724d63d45d37386
parentf4241a8e3dea166d7f72b39c58a3e53a7bbd46d0
selftests: net: initial fib rule tests

This adds a first set of tests for fib rule match/action for
ipv4 and ipv6. Initial tests only cover action lookup table.
can be extended to cover other actions in the future.
Uses ip route get to validate the rule lookup.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/fib_rule_tests.sh [new file with mode: 0755]