.. | .. |
---|
1060 | 1060 | "matchPattern": "action order [0-9]*: ife encode action pipe.*allow prio.*index 4", |
---|
1061 | 1061 | "matchCount": "0", |
---|
1062 | 1062 | "teardown": [] |
---|
| 1063 | + }, |
---|
| 1064 | + { |
---|
| 1065 | + "id": "a0e2", |
---|
| 1066 | + "name": "Replace ife encode action with invalid goto chain control", |
---|
| 1067 | + "category": [ |
---|
| 1068 | + "actions", |
---|
| 1069 | + "ife" |
---|
| 1070 | + ], |
---|
| 1071 | + "setup": [ |
---|
| 1072 | + [ |
---|
| 1073 | + "$TC actions flush action ife", |
---|
| 1074 | + 0, |
---|
| 1075 | + 1, |
---|
| 1076 | + 255 |
---|
| 1077 | + ], |
---|
| 1078 | + "$TC actions add action ife encode allow mark pass index 90" |
---|
| 1079 | + ], |
---|
| 1080 | + "cmdUnderTest": "$TC actions replace action ife encode allow mark goto chain 42 index 90 cookie c1a0c1a0", |
---|
| 1081 | + "expExitCode": "255", |
---|
| 1082 | + "verifyCmd": "$TC actions get action ife index 90", |
---|
| 1083 | + "matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E .*allow mark.*index 90 ref", |
---|
| 1084 | + "matchCount": "1", |
---|
| 1085 | + "teardown": [ |
---|
| 1086 | + "$TC actions flush action ife" |
---|
| 1087 | + ] |
---|
1063 | 1088 | } |
---|
1064 | 1089 | ] |
---|