mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-10 03:20:15 +01:00
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:
parent
fb0305321f
commit
1228fab87b
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue