selftests: tc-testing: Add testcases to test new flush behaviour
authorVictor Nogueira <victor@mojatatu.com>
Thu, 23 Jun 2022 14:07:42 +0000 (11:07 -0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 28 Jun 2022 04:51:28 +0000 (21:51 -0700)
commit88153e29c1e0f3ace8c831b06f6cea9503f16cec
tree0cf7f4cd26d8afe11170853579399221db36f722
parent76b39b94382f9e0a639e1c70c3253de248cc4c83
selftests: tc-testing: Add testcases to test new flush behaviour

Add tdc test cases to verify new flush behaviour is correct, which do
the following:

- Try to flush only one action which is being referenced by a filter
- Try to flush three actions where the last one (index 3) is being
  referenced by a filter

Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/tc-testing/tc-tests/actions/gact.json