libinput/test
Peter Hutterer 1901449871 Move opening and closing the device fd into evdev.c
evdev_device_remove() already calls close(device->fd). Move the
close_restricted call there to avoid one privileged call in the backend and
one in the device. And move the open_restricted() into the evdev device too to
reduce the duplicated code in the two backends.

Update to one of the tests: since we'd now fail getting the device node from
the invalid /tmp path, the open_func_count is 0.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-02-06 09:16:43 +10:00
..
build-pedantic.c test: add a build-test for -pedantic 2014-01-15 11:26:08 +10:00
litest-bcm5974.c Add a device test suite 2014-01-15 11:59:27 +10:00
litest-int.h Add a device test suite 2014-01-15 11:59:27 +10:00
litest-keyboard.c Add a device test suite 2014-01-15 11:59:27 +10:00
litest-mouse.c test: Add a basic mouse test device 2014-01-22 11:23:00 +10:00
litest-synaptics.c Add a device test suite 2014-01-15 11:59:27 +10:00
litest-trackpoint.c Add a device test suite 2014-01-15 11:59:27 +10:00
litest-wacom-touch.c test: add a wacom touch devices (absolute touchscreen) 2014-01-22 11:23:00 +10:00
litest.c Replace output screen size callback with transform helpers 2014-02-03 23:39:58 +01:00
litest.h test: add a wacom touch devices (absolute touchscreen) 2014-01-22 11:23:00 +10:00
Makefile.am test: add a simple touch test 2014-01-22 11:32:01 +10:00
path.c Move opening and closing the device fd into evdev.c 2014-02-06 09:16:43 +10:00
pointer.c test: add basic pointer motion and button test 2014-01-22 11:32:01 +10:00
touch.c test: add a simple touch test 2014-01-22 11:32:01 +10:00
udev.c test: Make sure the sysname of a device is correct 2014-01-31 14:57:18 +10:00