On Wed, May 4, 2022 at 9:51 AM Luis Chamberlain mcgrof@kernel.org wrote:
selftests has modules, although I am not sure if there are selftests which do not load modules. Shuah?
I'm not Shuah, but there are indeed selftests that don't load modules.
I went looking for an example and found tools/testing/selftests/bpf/test_doc_build.sh, which runs entirely in userspace (basically just `make docs`).