.. | .. |
---|
126 | 126 | "teardown": [ |
---|
127 | 127 | "" |
---|
128 | 128 | ] |
---|
| 129 | + }, |
---|
| 130 | + { |
---|
| 131 | + "id": "b776", |
---|
| 132 | + "name": "Replace simple action with invalid goto chain control", |
---|
| 133 | + "category": [ |
---|
| 134 | + "actions", |
---|
| 135 | + "simple" |
---|
| 136 | + ], |
---|
| 137 | + "setup": [ |
---|
| 138 | + [ |
---|
| 139 | + "$TC actions flush action simple", |
---|
| 140 | + 0, |
---|
| 141 | + 1, |
---|
| 142 | + 255 |
---|
| 143 | + ], |
---|
| 144 | + "$TC actions add action simple sdata \"hello\" pass index 90" |
---|
| 145 | + ], |
---|
| 146 | + "cmdUnderTest": "$TC actions replace action simple sdata \"world\" goto chain 42 index 90 cookie c1a0c1a0", |
---|
| 147 | + "expExitCode": "255", |
---|
| 148 | + "verifyCmd": "$TC actions list action simple", |
---|
| 149 | + "matchPattern": "action order [0-9]*: Simple <hello>.*index 90 ref", |
---|
| 150 | + "matchCount": "1", |
---|
| 151 | + "teardown": [ |
---|
| 152 | + "$TC actions flush action simple" |
---|
| 153 | + ] |
---|
129 | 154 | } |
---|
130 | 155 | ] |
---|