Running keyutils tests
It’s not very apparent how to run the tests in the keyutils repo ( kernel/git/dhowells/keyutils.git - Key management utilities), especially if you don’t work on kernel areas like keyrings and watch queue.
Running tests does require some kernel preparation. Searching on internet fetches you limited information. So I looked further what would cause some failures by looking at the test code.
I was able to run all the test using the following config options enabled (you can paste in a file and then use the merge_config script, see my previous post):