mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-28 13:10:07 +01:00
test: Assert libevdev_uinput_write_event() call was successful
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
60ac2eb813
commit
2eaefefdde
1 changed files with 2 additions and 1 deletions
|
|
@ -588,7 +588,8 @@ void
|
|||
litest_event(struct litest_device *d, unsigned int type,
|
||||
unsigned int code, int value)
|
||||
{
|
||||
libevdev_uinput_write_event(d->uinput, type, code, value);
|
||||
int ret = libevdev_uinput_write_event(d->uinput, type, code, value);
|
||||
ck_assert_int_eq(ret, 0);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue