libevdev/test
David Herrmann 639a5a9b56 Fix wrong libevdev clock test
We can rely on CLOCK_MONOTONIC and CLOCK_REALTIME to be different at any
time. However, this does not apply to the ms/us/ns parts of the current
time. Both may be in sync regarding the current micro-seconds state. So
remove the wrong clock us-comparison.

I was able to trigger this on my machine. Chances that both are in sync
are very low so I assume my RTC only provides low granularity and thus
both clocks are sync during boot for higher granularity.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-10-31 11:23:13 +10:00
..
.gitignore Set up a test harness 2013-06-04 11:39:33 +10:00
Makefile.am Add a copy of linux/input.h 2013-10-23 09:04:34 +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 Add a copy of linux/input.h 2013-10-23 09:04:34 +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-10-24 15:13:41 +10:00
test-libevdev-init.c Fix wrong libevdev clock test 2013-10-31 11:23:13 +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