|
69 | 69 | "matchCount": "0", |
70 | 70 | "teardown": [] |
71 | 71 | }, |
| 72 | + { |
| 73 | + "id": "d4cd", |
| 74 | + "name": "Add skbedit action with valid mark and mask", |
| 75 | + "category": [ |
| 76 | + "actions", |
| 77 | + "skbedit" |
| 78 | + ], |
| 79 | + "setup": [ |
| 80 | + [ |
| 81 | + "$TC actions flush action skbedit", |
| 82 | + 0, |
| 83 | + 1, |
| 84 | + 255 |
| 85 | + ] |
| 86 | + ], |
| 87 | + "cmdUnderTest": "$TC actions add action skbedit mark 1/0xaabb", |
| 88 | + "expExitCode": "0", |
| 89 | + "verifyCmd": "$TC actions list action skbedit", |
| 90 | + "matchPattern": "action order [0-9]*: skbedit mark 1/0xaabb", |
| 91 | + "matchCount": "1", |
| 92 | + "teardown": [ |
| 93 | + "$TC actions flush action skbedit" |
| 94 | + ] |
| 95 | + }, |
| 96 | + { |
| 97 | + "id": "baa7", |
| 98 | + "name": "Add skbedit action with valid mark and 32-bit maximum mask", |
| 99 | + "category": [ |
| 100 | + "actions", |
| 101 | + "skbedit" |
| 102 | + ], |
| 103 | + "setup": [ |
| 104 | + [ |
| 105 | + "$TC actions flush action skbedit", |
| 106 | + 0, |
| 107 | + 1, |
| 108 | + 255 |
| 109 | + ] |
| 110 | + ], |
| 111 | + "cmdUnderTest": "$TC actions add action skbedit mark 1/0xffffffff", |
| 112 | + "expExitCode": "0", |
| 113 | + "verifyCmd": "$TC actions list action skbedit", |
| 114 | + "matchPattern": "action order [0-9]*: skbedit mark 1/0xffffffff", |
| 115 | + "matchCount": "1", |
| 116 | + "teardown": [ |
| 117 | + "$TC actions flush action skbedit" |
| 118 | + ] |
| 119 | + }, |
| 120 | + { |
| 121 | + "id": "62a5", |
| 122 | + "name": "Add skbedit action with valid mark and mask exceeding 32-bit maximum", |
| 123 | + "category": [ |
| 124 | + "actions", |
| 125 | + "skbedit" |
| 126 | + ], |
| 127 | + "setup": [ |
| 128 | + [ |
| 129 | + "$TC actions flush action skbedit", |
| 130 | + 0, |
| 131 | + 1, |
| 132 | + 255 |
| 133 | + ] |
| 134 | + ], |
| 135 | + "cmdUnderTest": "$TC actions add action skbedit mark 1/0xaabbccddeeff112233", |
| 136 | + "expExitCode": "255", |
| 137 | + "verifyCmd": "$TC actions list action skbedit", |
| 138 | + "matchPattern": "action order [0-9]*: skbedit mark 1/0xaabbccddeeff112233", |
| 139 | + "matchCount": "0", |
| 140 | + "teardown": [] |
| 141 | + }, |
| 142 | + { |
| 143 | + "id": "bc15", |
| 144 | + "name": "Add skbedit action with valid mark and mask with invalid format", |
| 145 | + "category": [ |
| 146 | + "actions", |
| 147 | + "skbedit" |
| 148 | + ], |
| 149 | + "setup": [ |
| 150 | + [ |
| 151 | + "$TC actions flush action skbedit", |
| 152 | + 0, |
| 153 | + 1, |
| 154 | + 255 |
| 155 | + ] |
| 156 | + ], |
| 157 | + "cmdUnderTest": "$TC actions add action skbedit mark 1/-1234", |
| 158 | + "expExitCode": "255", |
| 159 | + "verifyCmd": "$TC actions list action skbedit", |
| 160 | + "matchPattern": "action order [0-9]*: skbedit mark 1/-1234", |
| 161 | + "matchCount": "0", |
| 162 | + "teardown": [] |
| 163 | + }, |
| 164 | + { |
| 165 | + "id": "57c2", |
| 166 | + "name": "Replace skbedit action with new mask", |
| 167 | + "category": [ |
| 168 | + "actions", |
| 169 | + "skbedit" |
| 170 | + ], |
| 171 | + "setup": [ |
| 172 | + [ |
| 173 | + "$TC actions flush action skbedit", |
| 174 | + 0, |
| 175 | + 1, |
| 176 | + 255 |
| 177 | + ], |
| 178 | + "$TC actions add action skbedit mark 1/0x11223344 index 1" |
| 179 | + ], |
| 180 | + "cmdUnderTest": "$TC actions replace action skbedit mark 1/0xaabb index 1", |
| 181 | + "expExitCode": "0", |
| 182 | + "verifyCmd": "$TC actions list action skbedit", |
| 183 | + "matchPattern": "action order [0-9]*: skbedit mark 1/0xaabb", |
| 184 | + "matchCount": "1", |
| 185 | + "teardown": [ |
| 186 | + "$TC actions flush action skbedit" |
| 187 | + ] |
| 188 | + }, |
72 | 189 | { |
73 | 190 | "id": "081d", |
74 | 191 | "name": "Add skbedit action with priority", |
|
0 commit comments