diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2012-02-20 00:41:58 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-02-20 00:41:58 +0100 |
commit | 0f52fdee378796df26021208dc684f77be1f877f (patch) | |
tree | 569a222c217875d25a0b6715849445fa3e2844fb /test/rule-syntax-check.py | |
parent | a82034ba58f0bce6289fd6e550f1433f97aa74ab (diff) |
test: remove outdated key attributes
Diffstat (limited to 'test/rule-syntax-check.py')
-rwxr-xr-x | test/rule-syntax-check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rule-syntax-check.py b/test/rule-syntax-check.py index a94a965a48..ff1b63d075 100755 --- a/test/rule-syntax-check.py +++ b/test/rule-syntax-check.py @@ -27,7 +27,7 @@ if len(sys.argv) < 2: no_args_tests = re.compile('(ACTION|DEVPATH|KERNELS?|NAME|SYMLINK|SUBSYSTEMS?|DRIVERS?|TAG|RESULT|TEST)\s*(?:=|!)=\s*"([^"]*)"$') args_tests = re.compile('(ATTRS?|ENV|TEST){([a-zA-Z0-9/_.*%-]+)}\s*(?:=|!)=\s*"([^"]*)"$') -no_args_assign = re.compile('(NAME|SYMLINK|SYMLINK{unique}|OWNER|GROUP|MODE|TAG|PROGRAM|RUN|RUN{ignore_error}|LABEL|GOTO|WAIT_FOR|OPTIONS|IMPORT)\s*(?:\+=|:=|=)\s*"([^"]*)"$') +no_args_assign = re.compile('(NAME|SYMLINK|OWNER|GROUP|MODE|TAG|PROGRAM|RUN|LABEL|GOTO|WAIT_FOR|OPTIONS|IMPORT)\s*(?:\+=|:=|=)\s*"([^"]*)"$') args_assign = re.compile('(ATTR|ENV|IMPORT){([a-zA-Z0-9/_.*%-]+)}\s*=\s*"([^"]*)"$') result = 0 |