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:
60ac2eb
)
test: Assert libevdev_uinput_write_event() call was successful
author
Jonas Ådahl
<jadahl@gmail.com>
Mon, 14 Jul 2014 21:33:51 +0000
(23:33 +0200)
committer
Jonas Ådahl
<jadahl@gmail.com>
Tue, 15 Jul 2014 21:44:50 +0000
(23:44 +0200)
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
test/litest.c
patch
|
blob
|
history
diff --git
a/test/litest.c
b/test/litest.c
index 5fd9e913873737a0d352109b8bb27646e43d91f6..adcbf3eae83e9eda95d821351e176398d6402d0c 100644
(file)
--- a/
test/litest.c
+++ b/
test/litest.c
@@
-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