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

Found by coverity

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-02-15 08:37:21 +10:00
parent fb0305321f
commit 1228fab87b

View file

@ -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);