tools/testing/selftests/tc-testing/tc-tests/actions/simple.json

Source file repositories/reference/linux-study-clean/tools/testing/selftests/tc-testing/tc-tests/actions/simple.json

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/tc-testing/tc-tests/actions/simple.json
Extension
.json
Size
7731 bytes
Lines
266
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

[
    {
        "id": "b078",
        "name": "Add simple action",
        "category": [
            "actions",
            "simple"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action simple",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC actions add action simple sdata \"A triumph\" index 60",
        "expExitCode": "0",
        "verifyCmd": "$TC actions list action simple",
        "matchPattern": "action order [0-9]*: Simple <A triumph>.*index 60 ref",
        "matchCount": "1",
        "teardown": [
            "$TC actions flush action simple"
        ]
    },
    {
        "id": "4297",
        "name": "Add simple action with change command",
        "category": [
            "actions",
            "simple"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action simple",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC actions change action simple sdata \"Not changed\" index 60",
        "expExitCode": "0",
        "verifyCmd": "$TC actions list action simple",
        "matchPattern": "action order [0-9]*: Simple <Not changed>.*index 60 ref",
        "matchCount": "1",
        "teardown": [
            "$TC actions flush action simple"
        ]
    },
    {
        "id": "6d4c",
        "name": "Add simple action with duplicate index",
        "category": [
            "actions",
            "simple"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action simple",
                0,
                1,

Annotation

Implementation Notes