History log of /systemd/test/rule-syntax-check.py
Revision Date Author Comments Expand
f2b8052fb648b788936dd3e85be6a9aca90fbb2f 30-Jun-2015 Kay Sievers <kay@vrfy.org>

udev: remove WAIT_FOR key This facility was never a proper solution, but only papered over real bugs in the kernel. There are no known sysfs "timing bugs" since a long time.

e8015e6e28fe7d287fc1d5d8bfd82ca65c51326c 20-Jan-2015 Martin Pitt <martin.pitt@ubuntu.com>

test: simplify rules-test.sh wrapper Drop globbing of rules/*.rules in the rules-test.sh wrapper and move that logic into the actual test rule-syntax-check.py. This can still be called with individual rules files, but when being called without arguments it will now process all top_builddir/rules/*.rules. Preparation for dropping the shell wrappers altogether.

6c8f2e7d78b1fe280588dc91beae90cdf36fcd49 20-Jan-2015 Martin Pitt <martin.pitt@ubuntu.com>

test: Use configured Python Don't hardcode "python" or /usr/bin/python, but use the configured $(PYTHON).

c6be83c16d605fb2e66b2a5a8ff0f4a7a6e0e1e4 20-Jan-2015 Martin Pitt <martin.pitt@ubuntu.com>

test/rule-syntax-check.py: Fix for Python 3 Make this work with both Python 2 and 3.

0228a7e56a618aed45940f6ec61b24d34fff7dc5 14-Aug-2013 Kay Sievers <kay@vrfy.org>

test: add licence header and switch to LGPL Checked with and got OK from Martin.

23757887f768b0b7339239cc98aee879d9f4d87f 17-Dec-2012 Sami Kerola <kerolasa@iki.fi>

licence: remove references to old FSF address Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206

5488ac8c3a06e792f03ee330395794dc9c03f38c 09-Oct-2012 Kay Sievers <kay@vrfy.org>

udev: fix rule-syntax-check.py

0b87a07761dcad31583142a3a454c42833e65a09 14-Apr-2012 Kay Sievers <kay@vrfy.org>

udev: test - move test/ and src/test/

0f52fdee378796df26021208dc684f77be1f877f 20-Feb-2012 Kay Sievers <kay.sievers@vrfy.org>

test: remove outdated key attributes

be903bf9c48b41bdfcff205efa5fc593b7174e86 31-May-2011 Kay Sievers <kay.sievers@vrfy.org>

rule-syntax-check.py: use print()

b2ad12eb0291832134bf3757f98abfeeec2fb166 21-Sep-2010 Martin Pitt <martin.pitt@ubuntu.com>

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.