chiark / gitweb /
Add automatic rules syntax check
authorMartin Pitt <martin.pitt@ubuntu.com>
Tue, 21 Sep 2010 10:45:52 +0000 (12:45 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Tue, 21 Sep 2010 10:45:52 +0000 (12:45 +0200)
commitb2ad12eb0291832134bf3757f98abfeeec2fb166
tree9b088e654df08400c537fedbb22f417ea3a77b0a
parentc112a41a43ccede3b22bf242bcf8da455ca57c98
Add automatic rules syntax check

Add test/rule-syntax-check.py, a script for checking the syntax of all udev
rules files passed as command line arguments.

Add a wrapper test/rules-test.sh which calls rule-syntax-check.py on all udev
rules that we ship, but does nothing if Python is not available. Integrate this
into make check/distcheck.
Makefile.am
test/rule-syntax-check.py [new file with mode: 0755]
test/rules-test.sh [new file with mode: 0755]