summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2021-09-24 17:50:53 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2021-09-27 22:43:22 +0000
commite0aa946e39887f6ff1ac825d99c6a0295de937b4 (patch)
treeea0ccffa4be7b2d0251dcd84a5895c9af16a3038
parentbad8b7361758718e4e44a5d73f846f95792db635 (diff)
test: add kernel bugs to log handler
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
-rw-r--r--test/litest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/litest.c b/test/litest.c
index a900c1c8..187dd345 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -1750,7 +1750,8 @@ litest_bug_log_handler(struct libinput *libinput,
va_list args)
{
if (strstr(format, "client bug: ") ||
- strstr(format, "libinput bug: "))
+ strstr(format, "libinput bug: ") ||
+ strstr(format, "kernel bug: "))
return;
litest_abort_msg("Expected bug statement in log msg, aborting.\n");