]> git.baikalelectronics.ru Git - kernel.git/commit
tc-testing: add test-cases for numeric and invalid control action
authorPaolo Abeni <pabeni@redhat.com>
Wed, 29 Aug 2018 08:22:34 +0000 (10:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Aug 2018 05:10:59 +0000 (22:10 -0700)
commit416c50f7acd7bf44ea3f579bd54075fbe3859b63
tree5a119bc799c2a00a0b215f958f945b917297f001
parent6c77d8481e6b8eb4c5f5be86ed7bfe840e2b4401
tc-testing: add test-cases for numeric and invalid control action

Only the police action allows us to specify an arbitrary numeric value
for the control action. This change introduces an explicit test case
for the above feature and then leverage it for testing the kernel behavior
for invalid control actions (reject).

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/tc-tests/actions/police.json