aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/tc-testing/tc-tests/filters/tests.json
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2019-12-18 00:00:05 +0100
committerDavid S. Miller <davem@davemloft.net>2019-12-19 17:53:05 -0800
commit6649a3f3374720e000ea6d67b79b4df28a7662ba (patch)
tree0aeebe8351875429eb5f6ca72213d7fed48eb67c /tools/testing/selftests/tc-testing/tc-tests/filters/tests.json
parentnet/sched: cls_u32: fix refcount leak in the error path of u32_change() (diff)
downloadwireguard-linux-6649a3f3374720e000ea6d67b79b4df28a7662ba.tar.xz
wireguard-linux-6649a3f3374720e000ea6d67b79b4df28a7662ba.zip
tc-testing: initial tdc selftests for cls_u32
- move test "e9a3 - Add u32 with source match" to u32.json, and change the match pattern to catch all hnodes - add testcases for relevant error paths of cls_u32 module Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tc-tests/filters/tests.json')
-rw-r--r--tools/testing/selftests/tc-testing/tc-tests/filters/tests.json22
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/testing/selftests/tc-testing/tc-tests/filters/tests.json b/tools/testing/selftests/tc-testing/tc-tests/filters/tests.json
index 0f89cd50a94b..8877f7b2b809 100644
--- a/tools/testing/selftests/tc-testing/tc-tests/filters/tests.json
+++ b/tools/testing/selftests/tc-testing/tc-tests/filters/tests.json
@@ -1,27 +1,5 @@
[
{
- "id": "e9a3",
- "name": "Add u32 with source match",
- "category": [
- "filter",
- "u32"
- ],
- "plugins": {
- "requires": "nsPlugin"
- },
- "setup": [
- "$TC qdisc add dev $DEV1 ingress"
- ],
- "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: protocol ip prio 1 u32 match ip src 127.0.0.1/32 flowid 1:1 action ok",
- "expExitCode": "0",
- "verifyCmd": "$TC filter show dev $DEV1 parent ffff:",
- "matchPattern": "match 7f000001/ffffffff at 12",
- "matchCount": "1",
- "teardown": [
- "$TC qdisc del dev $DEV1 ingress"
- ]
- },
- {
"id": "2638",
"name": "Add matchall and try to get it",
"category": [