Re: [PATCH v2] kunit: Taint kernel if any tests run

From: Daniel Latypov
Date: Wed May 04 2022 - 12:25:59 EST


On Wed, May 4, 2022 at 9:51 AM Luis Chamberlain <mcgrof@xxxxxxxxxx> 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`).