Skip to content
Commit b0031562 authored by Dana Elfassy's avatar Dana Elfassy Committed by Dmitry Torokhov
Browse files

Input: tests - add test to cover all input_grab_device() function



Currently input_grab_device() isn't covered by any tests
Thus, adding a test to cover the cases:
1. The device is grabbed successfully
2. Trying to grab a device that is already grabbed by another input
   handle

Signed-off-by: default avatarDana Elfassy <dangel101@gmail.com>
Tested-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Reviewed-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20230522215514.722564-1-dangel101@gmail.com


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 3615536c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment