Commit 55df3e97 authored by Roman Mashak's avatar Roman Mashak Committed by David S. Miller

tc-testing: updated mirred and vlan with more tests

Added extra test cases for different control actions (reclassify, pipe
etc.), cookies, max values & exceeding maximum, and replace existing
actions unit tests.
Signed-off-by: default avatarRoman Mashak <mrv@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2f42a128
......@@ -340,7 +340,7 @@
},
{
"id": "8b69",
"name": "Add mirred mirror action with maximum index",
"name": "Add mirred mirror action with index at 32-bit maximum",
"category": [
"actions",
"mirred"
......@@ -362,6 +362,28 @@
"$TC actions flush action mirred"
]
},
{
"id": "3f66",
"name": "Add mirred mirror action with index exceeding 32-bit maximum",
"category": [
"actions",
"mirred"
],
"setup": [
[
"$TC actions flush action mirred",
0,
1,
255
]
],
"cmdUnderTest": "$TC actions add action mirred ingress mirror dev lo pipe index 429496729555",
"expExitCode": "255",
"verifyCmd": "$TC actions get action mirred index 429496729555",
"matchPattern": "action order [0-9]*: mirred \\(Ingress Mirror to device lo\\) pipe.*index 429496729555",
"matchCount": "0",
"teardown": []
},
{
"id": "a70e",
"name": "Delete mirred mirror action",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment