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:
78a810c
)
test: fix a lid test
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 22 May 2017 04:03:38 +0000
(14:03 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 23 May 2017 03:03:39 +0000
(13:03 +1000)
We were checking for the empty queue on the wrong context, the default context
got drained a few lines above.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/test-lid.c
patch
|
blob
|
history
diff --git
a/test/test-lid.c
b/test/test-lid.c
index 258f8e3d2e568ecad6e94fa4fa154217f5f5dacf..52542224b4722af5d51590fea40dfd00831015a6 100644
(file)
--- a/
test/test-lid.c
+++ b/
test/test-lid.c
@@
-499,7
+499,7
@@
START_TEST(lid_update_hw_on_key)
LIBINPUT_SWITCH_LID,
LIBINPUT_SWITCH_STATE_OFF);
libinput_event_destroy(event);
- litest_assert_empty_queue(li);
+ litest_assert_empty_queue(li
2
);
libinput_unref(li2);
litest_delete_device(keyboard);