test: fix the lookup for the timer offset warnings

This was changed in 5e25bdfb03 but the litest
message lookup wasn't changed. Let's do that now and change to a generic
wording we can re-use for other messages.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-04-16 10:58:00 +10:00
parent bfccf5c405
commit 2ff0c3427d

View file

@ -678,7 +678,7 @@ litest_log_handler(struct libinput *libinput,
* short, don't abort if during a valgrind run we get a
* negative offset */
if ((!RUNNING_ON_VALGRIND && !in_debugger) ||
!strstr(format, "offset negative"))
!strstr(format, "your system is too slow"))
litest_abort_msg("libinput bug triggered, aborting.\n");
}