On Wed 2019-11-06 17:28:01, Joe Lawrence wrote: > The livepatch selftests compare expected dmesg output to verify kernel > behavior. They currently filter out "tainting kernel with > TAINT_LIVEPATCH" messages which may be logged when loading livepatch > modules. > > Further filter the log to also drop "loading out-of-tree module taints > kernel" messages in case the klp_test modules have been build without > the in-tree module flag. It needs a special way how to build the selftest modules. But it is clearly possible. > Signed-off-by: Joe Lawrence <joe.lawrence@xxxxxxxxxx> Reviewed-by: Petr Mladek <pmladek@xxxxxxxx> > --- > > Since there are no related livepatch-core changes, this can go > through Shuah's kselftest tree if she prefers. Shuah, would you like to take it via kselftest tree, please? Or I could add it into livepatch tree if you would prefer it. Best Regards, Petr