diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2024-08-27 17:19:31 +0900 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2024-08-29 10:39:37 +0200 |
commit | 8163892a629ca544af575ce54955bf275a3250cd (patch) | |
tree | ccaa5e2ed60fd8b46f9350740624cd8b66f8e933 /scripts/generate_rust_target.rs | |
parent | 375e9bde9fc0fdb9e8d2339b06be5c2c2a5cb701 (diff) |
selftests/hid: Add initial hidraw tests skeleton
Largely inspired from hid_bpf.c for the fixture setup.
Create a couple of tests for hidraw:
- create a uhid device and check if the fixture is working properly
- inject one uhid event and read it through hidraw
These tests are not that useful for now, but will be once we start adding
the ioctl and BPFs to revoke the hidraw node.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Link: https://patch.msgid.link/20240827-hidraw-revoke-v5-3-d004a7451aea@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions