mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-25 00:10:41 +01:00
tools: measure-fuzz: sleep for 2 seconds to give the hwdb time
one second isn't always enough here. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
28e7f62302
commit
975d036713
1 changed files with 2 additions and 2 deletions
|
|
@ -277,10 +277,10 @@ def reload_and_trigger_udev(device):
|
|||
print('Running systemd-hwdb update')
|
||||
subprocess.run(['systemd-hwdb', 'update'], check=True)
|
||||
syspath = device.path.replace('/dev/input/', '/sys/class/input/')
|
||||
time.sleep(1)
|
||||
time.sleep(2)
|
||||
print('Running udevadm trigger {}'.format(syspath))
|
||||
subprocess.run(['udevadm', 'trigger', syspath], check=True)
|
||||
time.sleep(1)
|
||||
time.sleep(2)
|
||||
|
||||
|
||||
def test_hwdb_entry(device, fuzz):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue