From: Kay Sievers Date: Sun, 19 Feb 2012 23:41:58 +0000 (+0100) Subject: test: remove outdated key attributes X-Git-Tag: 182~20 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f52fdee378796df26021208dc684f77be1f877f;p=systemd test: remove outdated key attributes --- diff --git a/test/rule-syntax-check.py b/test/rule-syntax-check.py index a94a965a..ff1b63d0 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 diff --git a/test/udev-test.pl b/test/udev-test.pl index 8afd3e4f..0706c7ad 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -44,7 +44,7 @@ EOF devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda", exp_name => "boot_disk" , rules => < <