]> git.baikalelectronics.ru Git - kernel.git/commit
tc-testing: flush gact actions on test teardown
authorVlad Buslov <vladbu@mellanox.com>
Sun, 5 Aug 2018 19:36:25 +0000 (22:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Aug 2018 00:39:23 +0000 (17:39 -0700)
commit66622842c73ae23e524c2f11b23f5fc29e337bd0
tree5a333b36cf348b849a0a99f87eef17d8beec61b9
parent4fda205624389ccbad517bd04ab2fa52e0e5acf0
tc-testing: flush gact actions on test teardown

Test 6fb4 creates one mirred and one pipe action, but only flushes mirred
on teardown. Leaking pipe action causes failures in other tests.

Add additional teardown command to also flush gact actions.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json