Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4136155 authored by Davide Caratti's avatar Davide Caratti Committed by David S. Miller
Browse files

selftests: tc-testing: drop test on missing tunnel key id



After merge of commit 80ef0f22 ("net/sched: act_tunnel_key: Allow
key-less tunnels"), act_tunnel_key does not reject anymore requests to
install 'set' rules where the key id is missing. Therefore, drop the
following TDC testcase:

 ba4e - Add tunnel_key set action with missing mandatory id parameter

because it's going to become a systematic fail as soon as userspace
iproute2 will start supporting key-less tunnels.

Signed-off-by: default avatarDavide Caratti <dcaratti@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e0a7328f
Loading
Loading
Loading
Loading
+0 −29
Original line number Diff line number Diff line
@@ -81,35 +81,6 @@
	    ]
        ]
    },
    {
        "id": "ba4e",
        "name": "Add tunnel_key set action with missing mandatory id parameter",
        "category": [
            "actions",
            "tunnel_key"
        ],
        "setup": [
            [
                "$TC actions flush action tunnel_key",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC actions add action tunnel_key set src_ip 10.10.10.1 dst_ip 20.20.20.2",
        "expExitCode": "255",
        "verifyCmd": "$TC actions list action tunnel_key",
        "matchPattern": "action order [0-9]+: tunnel_key set.*src_ip 10.10.10.1.*dst_ip 20.20.20.2",
        "matchCount": "0",
        "teardown": [
	    [
		"$TC actions flush action tunnel_key",
		0,
		1,
		255
	    ]
        ]
    },
    {
        "id": "a5e0",
        "name": "Add tunnel_key set action with invalid src_ip parameter",