From 1228fab87bf885c46a4d2f86ca60953a460e3415 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 15 Feb 2019 08:37:21 +1000 Subject: [PATCH] test: check for a non-null libinput in the new udev_create_seat_too_long test Found by coverity Signed-off-by: Peter Hutterer --- test/test-udev.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.7.4