summaryrefslogtreecommitdiff
path: root/test/check-leftover-udev-rules.sh
blob: 8baef0c7e34302da3b5786d10093d10847e1b0e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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