On Tue, Nov 9, 2021 at 11:32 PM Dmitrii Banshchikov <me@xxxxxxxxxxxxx> wrote: > > > > Won't hurt, probably. But I wonder if it will be much easier to add > > all those programs as C code and test from test_progs? Instead of all > > this assembly. > > > > You can put all of them into a single file and have loop that disabled > > all but one program at a time (using bpf_program__set_autoload()) and > > loading it and validating that the load failed. WDYT? > > Will give it a try, thanks. Please keep asm tests as well. They're useful too.