projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e7f62
)
tools: measure-fuzz: sleep for 2 seconds to give the hwdb time
author
Peter Hutterer
<peter.hutterer@who-t.net>
Sun, 19 Apr 2020 05:53:11 +0000
(15:53 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Sun, 19 Apr 2020 06:04:58 +0000
(16:04 +1000)
one second isn't always enough here.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/libinput-measure-fuzz.py
patch
|
blob
|
history
diff --git
a/tools/libinput-measure-fuzz.py
b/tools/libinput-measure-fuzz.py
index eab7364f03e57134a7823c4ae3aa49d842309871..c392d74a7fbaa508b6e3d73423b096aac3fbc706 100755
(executable)
--- a/
tools/libinput-measure-fuzz.py
+++ b/
tools/libinput-measure-fuzz.py
@@
-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):