hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/tools/testing/selftests/tc-testing/tc-tests/actions/connmark.json
....@@ -287,5 +287,30 @@
287287 "teardown": [
288288 "$TC actions flush action connmark"
289289 ]
290
+ },
291
+ {
292
+ "id": "c506",
293
+ "name": "Replace connmark with invalid goto chain control",
294
+ "category": [
295
+ "actions",
296
+ "connmark"
297
+ ],
298
+ "setup": [
299
+ [
300
+ "$TC actions flush action connmark",
301
+ 0,
302
+ 1,
303
+ 255
304
+ ],
305
+ "$TC actions add action connmark pass index 90"
306
+ ],
307
+ "cmdUnderTest": "$TC actions replace action connmark goto chain 42 index 90 cookie c1a0c1a0",
308
+ "expExitCode": "255",
309
+ "verifyCmd": "$TC actions get action connmark index 90",
310
+ "matchPattern": "action order [0-9]+: connmark zone 0 pass.*index 90 ref",
311
+ "matchCount": "1",
312
+ "teardown": [
313
+ "$TC actions flush action connmark"
314
+ ]
290315 }
291316 ]