Test Case Index

Test Case source

kselftest-net

The kernel contains a set of 'self tests' under the tools/testing/selftests/. These are intended to be small unit tests to exercise individual code paths in the kernel. kselftest-net is a basic test of packet socket fanout and socket's TPACKET_V1/TPACKET_V2/TPACKET_V3 behavior.

Example JSON job file

{
    "device_type": "arndale",
    "health_check": false,
    "job_name": "example kselftest-net",
    "timeout": 1800
    "actions": [
        {
            "command": "deploy_linaro_image",
            "parameters": {
                "image": "<IMAGE_URL>"
            }
        },
        {
            "command": "lava_test_shell",
            "parameters": {
                "testdef_repos": [
                    {
                        "git-repo": "git://git.linaro.org/qa/test-definitions.git",
                        "testdef": "ubuntu/kselftest-net.yaml"
                    }
                ],
                "timeout": 900
            }
        },

        {
            "command": "submit_results",
            "parameters": {
                "server": "http://username@your.lava.server/RPC2/",
                "stream": "/your/bundle/stream/",
                "token": "<your_token>"
            }
        }
    ],
}

Platform/QA/TestCases/Automated/ubuntu_kselftest-net (last modified 2016-03-30 19:40:11)