diff options
author | Michal Sekletar <msekleta@redhat.com> | 2018-08-02 13:16:49 +0200 |
---|---|---|
committer | Michal Sekletar <msekleta@redhat.com> | 2018-08-02 13:34:51 +0200 |
commit | 1bb734a44952a51285057409ba7b1c3e7a162cea (patch) | |
tree | dda830e0d3f696e69b638e31eed47721e5746322 /test | |
parent | 0c5b8096cb23701f8048dba33a38e1b55249cab3 (diff) | |
download | systemd-1bb734a44952a51285057409ba7b1c3e7a162cea.tar.gz |
Revert "udev: remove WAIT_FOR key"
This reverts commit f2b8052fb648b788936dd3e85be6a9aca90fbb2f.
Resolves: #1523213
Diffstat (limited to 'test')
-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 dfb06d9ed9..706d93632e 100755 --- a/test/rule-syntax-check.py +++ b/test/rule-syntax-check.py @@ -18,7 +18,7 @@ if not rules_files: quoted_string_re = r'"(?:[^\\"]|\\.)*"' no_args_tests = re.compile(r'(ACTION|DEVPATH|KERNELS?|NAME|SYMLINK|SUBSYSTEMS?|DRIVERS?|TAG|PROGRAM|RESULT|TEST)\s*(?:=|!)=\s*' + quoted_string_re + '$') args_tests = re.compile(r'(ATTRS?|ENV|TEST){([a-zA-Z0-9/_.*%-]+)}\s*(?:=|!)=\s*' + quoted_string_re + '$') -no_args_assign = re.compile(r'(NAME|SYMLINK|OWNER|GROUP|MODE|TAG|RUN|LABEL|GOTO|OPTIONS|IMPORT)\s*(?:\+=|:=|=)\s*' + quoted_string_re + '$') +no_args_assign = re.compile(r'(NAME|SYMLINK|OWNER|GROUP|MODE|TAG|RUN|LABEL|GOTO|WAIT_FOR|OPTIONS|IMPORT)\s*(?:\+=|:=|=)\s*' + quoted_string_re + '$') args_assign = re.compile(r'(ATTR|ENV|IMPORT|RUN){([a-zA-Z0-9/_.*%-]+)}\s*(=|\+=)\s*' + quoted_string_re + '$') # Find comma-separated groups, but allow commas that are inside quoted strings. # Using quoted_string_re + '?' so that strings missing the last double quote |