test: add helper functions for the two timers we care about
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 16 Sep 2014 06:08:29 +0000 (16:08 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 23 Sep 2014 04:38:37 +0000 (14:38 +1000)
commite4adbff919223861bb2630eb413c1c64d02dfd57
tree39e452a1bd540e34f009bdcc81c9201017db3efb
parent5e256e4f49abf018791f52d5e01faf5d4b5b00a6
test: add helper functions for the two timers we care about

Rather than a random msleep() with a comment, use a helper function that
describes what we're waiting for. Also makes changing the timeouts easier in
the future.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
test/device.c
test/litest.c
test/litest.h
test/touchpad.c