mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 02:20:30 +01:00
test: remove a workaround for libevdev 1.2 and earlier
libevdev 1.3 was released in 2014. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/986>
This commit is contained in:
parent
02d01a53c6
commit
3d246ef248
1 changed files with 0 additions and 4 deletions
|
|
@ -3448,10 +3448,6 @@ litest_create_uinput(const char *name,
|
|||
rc = libevdev_uinput_create_from_device(dev,
|
||||
LIBEVDEV_UINPUT_OPEN_MANAGED,
|
||||
&uinput);
|
||||
/* workaround for a bug in libevdev pre-1.3
|
||||
http://cgit.freedesktop.org/libevdev/commit/?id=debe9b030c8069cdf78307888ef3b65830b25122 */
|
||||
if (rc == -EBADF)
|
||||
rc = -EACCES;
|
||||
litest_assert_msg(rc == 0, "Failed to create uinput device: %s\n", strerror(-rc));
|
||||
|
||||
libevdev_free(dev);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue