Skip to content
Snippets Groups Projects
Commit 1228fab8 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

test: check for a non-null libinput in the new udev_create_seat_too_long test


Found by coverity

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent fb030532
No related branches found
No related tags found
No related merge requests found
......@@ -143,6 +143,7 @@ START_TEST(udev_create_seat_too_long)
ck_assert(udev != NULL);
li = libinput_udev_create_context(&simple_interface, NULL, udev);
ck_assert_notnull(li);
litest_set_log_handler_bug(li);
ck_assert_int_eq(libinput_udev_assign_seat(li, seatname), -1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment