[PATCH] tests: hwsim: kernel: add a test for kunit

Jouni Malinen j at w1.fi
Sun Jan 14 08:26:39 PST 2024


On Wed, Jan 03, 2024 at 02:58:21PM +0100, Johannes Berg wrote:
> Add a test that runs the cfg80211/mac80211 kunit tests
> (they must be built as modules to run at this point),
> and checks the results. The test is skipped if all the
> modules fail to load.

Thanks, applied.

What would happen if this test case were run multiple times in the same
VM? Would the kernel module need to be unloaded at the end of the test
case to make that work? Could the current version result in failing the
first run and then claiming that the second attempt passed since the
modules were not loaded again?

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list