| .. | .. |
|---|
| 608 | 608 | "teardown": [ |
|---|
| 609 | 609 | "$TC actions flush action sample" |
|---|
| 610 | 610 | ] |
|---|
| 611 | + }, |
|---|
| 612 | + { |
|---|
| 613 | + "id": "0a6e", |
|---|
| 614 | + "name": "Replace sample action with invalid goto chain control", |
|---|
| 615 | + "category": [ |
|---|
| 616 | + "actions", |
|---|
| 617 | + "sample" |
|---|
| 618 | + ], |
|---|
| 619 | + "setup": [ |
|---|
| 620 | + [ |
|---|
| 621 | + "$TC actions flush action sample", |
|---|
| 622 | + 0, |
|---|
| 623 | + 1, |
|---|
| 624 | + 255 |
|---|
| 625 | + ], |
|---|
| 626 | + "$TC actions add action sample rate 1024 group 4 pass index 90" |
|---|
| 627 | + ], |
|---|
| 628 | + "cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 goto chain 42 index 90 cookie c1a0c1a0", |
|---|
| 629 | + "expExitCode": "255", |
|---|
| 630 | + "verifyCmd": "$TC actions list action sample", |
|---|
| 631 | + "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pass.*index 90", |
|---|
| 632 | + "matchCount": "1", |
|---|
| 633 | + "teardown": [ |
|---|
| 634 | + "$TC actions flush action sample" |
|---|
| 635 | + ] |
|---|
| 611 | 636 | } |
|---|
| 612 | 637 | ] |
|---|