Skip to content

Commit 38a27ee

Browse files
dcarattigregkh
authored andcommitted
selftests: tc-testing: drop test on missing tunnel key id
[ Upstream commit e413615 ] After merge of commit 80ef0f2 ("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: Davide Caratti <dcaratti@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 642e266 commit 38a27ee

1 file changed

Lines changed: 0 additions & 29 deletions

File tree

‎tools/testing/selftests/tc-testing/tc-tests/actions/tunnel_key.json‎

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -81,35 +81,6 @@
8181
]
8282
]
8383
},
84-
{
85-
"id": "ba4e",
86-
"name": "Add tunnel_key set action with missing mandatory id parameter",
87-
"category": [
88-
"actions",
89-
"tunnel_key"
90-
],
91-
"setup": [
92-
[
93-
"$TC actions flush action tunnel_key",
94-
0,
95-
1,
96-
255
97-
]
98-
],
99-
"cmdUnderTest": "$TC actions add action tunnel_key set src_ip 10.10.10.1 dst_ip 20.20.20.2",
100-
"expExitCode": "255",
101-
"verifyCmd": "$TC actions list action tunnel_key",
102-
"matchPattern": "action order [0-9]+: tunnel_key set.*src_ip 10.10.10.1.*dst_ip 20.20.20.2",
103-
"matchCount": "0",
104-
"teardown": [
105-
[
106-
"$TC actions flush action tunnel_key",
107-
0,
108-
1,
109-
255
110-
]
111-
]
112-
},
11384
{
11485
"id": "a5e0",
11586
"name": "Add tunnel_key set action with invalid src_ip parameter",

0 commit comments

Comments
 (0)