summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/tc-testing/tc-tests/actions/ife.json
blob: 9f34f0753969ffec6de55303fc96a35aa15ddaf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[
    {
        "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"
        ]
    }
]