projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb03053
)
test: check for a non-null libinput in the new udev_create_seat_too_long test
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 14 Feb 2019 22:37:21 +0000
(08:37 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 14 Feb 2019 22:38:02 +0000
(08:38 +1000)
Found by coverity
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/test-udev.c
patch
|
blob
|
history
diff --git
a/test/test-udev.c
b/test/test-udev.c
index
4f677c1
..
0ca8925
100644
(file)
--- 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);