libevdev/test
Peter Hutterer 6801ad6832 Check max to see if an event type is valid
There's a gap in the range between EV_SW and EV_LED. Trying to enable one
of those bits will segfault.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
(cherry picked from commit c4111f717a)
2013-11-01 08:24:53 +10:00
..
.gitignore Set up a test harness 2013-06-04 11:39:33 +10:00
Makefile.am test: add uinput creation tests 2013-08-29 13:54:49 +10:00
test-common-uinput.c test: provide wrapper for fetching the devnode from a uinput test device 2013-09-13 08:59:06 +10:00
test-common-uinput.h test: provide wrapper for fetching the devnode from a uinput test device 2013-09-13 08:59:06 +10:00
test-common.c test: define a common device name 2013-07-05 09:11:34 +10:00
test-common.h test: define a common device name 2013-07-05 09:11:34 +10:00
test-event-names.c Mark three deprecated functions as such 2013-11-01 08:23:54 +10:00
test-int-queue.c Use ENOMEM instead of ENOSPC 2013-08-31 12:27:23 +10:00
test-libevdev-events.c Name-space the read flags better 2013-09-11 12:10:15 +10:00
test-libevdev-has-event.c Check max to see if an event type is valid 2013-11-01 08:24:53 +10:00
test-libevdev-init.c wrap EVIOCSCLOCKID into an API call 2013-09-13 09:28:00 +10:00
test-main.c test: add uinput creation tests 2013-08-29 13:54:49 +10:00
test-uinput.c Revamp the API once again 2013-09-10 11:25:09 +10:00