| .. | .. |
|---|
| 287 | 287 | "teardown": [ |
|---|
| 288 | 288 | "$TC actions flush action connmark" |
|---|
| 289 | 289 | ] |
|---|
| 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 | + ] |
|---|
| 290 | 315 | } |
|---|
| 291 | 316 | ] |
|---|