The original submission had the test cases stored in one monolithic file. This can be unwieldy to edit, especially as more test cases are added. This patch removes the original tests.json file in favour of individual ones broken down by category. Signed-off-by: Lucas Bates <lucasb@mojatatu.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
[
|
|
{
|
|
"id": "a568",
|
|
"name": "Add action with ife type",
|
|
"category": [
|
|
"actions",
|
|
"ife"
|
|
],
|
|
"setup": [
|
|
[
|
|
"$TC actions flush action ife",
|
|
0,
|
|
1,
|
|
255
|
|
],
|
|
"$TC actions add action ife encode type 0xDEAD index 1"
|
|
],
|
|
"cmdUnderTest": "$TC actions get action ife index 1",
|
|
"expExitCode": "0",
|
|
"verifyCmd": "$TC actions get action ife index 1",
|
|
"matchPattern": "type 0xDEAD",
|
|
"matchCount": "1",
|
|
"teardown": [
|
|
"$TC actions flush action ife"
|
|
]
|
|
},
|
|
{
|
|
"id": "b983",
|
|
"name": "Add action without ife type",
|
|
"category": [
|
|
"actions",
|
|
"ife"
|
|
],
|
|
"setup": [
|
|
[
|
|
"$TC actions flush action ife",
|
|
0,
|
|
1,
|
|
255
|
|
],
|
|
"$TC actions add action ife encode index 1"
|
|
],
|
|
"cmdUnderTest": "$TC actions get action ife index 1",
|
|
"expExitCode": "0",
|
|
"verifyCmd": "$TC actions get action ife index 1",
|
|
"matchPattern": "type 0xED3E",
|
|
"matchCount": "1",
|
|
"teardown": [
|
|
"$TC actions flush action ife"
|
|
]
|
|
}
|
|
]
|