From: Peter Hutterer Date: Thu, 14 Feb 2019 22:37:21 +0000 (+1000) Subject: test: check for a non-null libinput in the new udev_create_seat_too_long test X-Git-Tag: 1.12.901~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1228fab87bf885c46a4d2f86ca60953a460e3415;p=platform%2Fupstream%2Flibinput.git test: check for a non-null libinput in the new udev_create_seat_too_long test Found by coverity Signed-off-by: Peter Hutterer --- diff --git a/test/test-udev.c b/test/test-udev.c index 4f677c1..0ca8925 100644 --- a/test/test-udev.c +++ b/test/test-udev.c @@ -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);