Commit 651beeb
selftests/bpf: Add test for detachment on empty mprog entry
Add a detachment test case with miniq present to assert that with and
without the miniq we get the same error.
# ./test_progs -t tc_opts
torvalds#244 tc_opts_after:OK
torvalds#245 tc_opts_append:OK
torvalds#246 tc_opts_basic:OK
torvalds#247 tc_opts_before:OK
torvalds#248 tc_opts_chain_classic:OK
torvalds#249 tc_opts_delete_empty:OK
torvalds#250 tc_opts_demixed:OK
torvalds#251 tc_opts_detach:OK
torvalds#252 tc_opts_detach_after:OK
torvalds#253 tc_opts_detach_before:OK
torvalds#254 tc_opts_dev_cleanup:OK
torvalds#255 tc_opts_invalid:OK
torvalds#256 tc_opts_mixed:OK
torvalds#257 tc_opts_prepend:OK
torvalds#258 tc_opts_replace:OK
torvalds#259 tc_opts_revision:OK
Summary: 16/0 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Daniel Borkmann <[email protected]>1 parent eac51c5 commit 651beeb
1 file changed
+31
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2237 | 2237 | | |
2238 | 2238 | | |
2239 | 2239 | | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
0 commit comments