mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 02:10:07 +01:00
An aborted test run can sometimes leave udev rules as detritus. Test for that so we don't get test case failures triggered by those rules. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
11 lines
187 B
Bash
Executable file
11 lines
187 B
Bash
Executable file
#!/bin/bash
|
|
|
|
ls /run/udev/rules.d/*litest*.rules 2>/dev/null
|
|
if [[ $? -eq 0 ]]; then
|
|
exit 1
|
|
fi
|
|
|
|
ls /etc/udev/hwdb.d/*litest*REMOVEME*.hwdb 2>/dev/null
|
|
if [[ $? -eq 0 ]]; then
|
|
exit 1
|
|
fi
|