String substitutions in OWNER and GROUP keys were broken in udev 137-142. Explicitly test for this, since such breakage will not manifest in typical rulesets. --- test/udev-test.pl | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/udev-test.pl b/test/udev-test.pl index 30e8d2a..5516468 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1654,14 +1654,14 @@ KERNEL=="sda", MODE="0000" EOF }, { - desc => "TEST PROGRAM feeds MODE", + desc => "TEST PROGRAM feeds OWNER, GROUP, MODE", subsys => "block", devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda", exp_name => "sda", - exp_perms => "0:0:0400", + exp_perms => "5000:100:0400", rules => <<EOF KERNEL=="sda", MODE="666" -KERNEL=="sda", PROGRAM=="/bin/echo 0 0 0400", OWNER="%c{1}", GROUP="%c{2}", MODE="%c{3}" +KERNEL=="sda", PROGRAM=="/bin/echo 5000 100 0400", OWNER="%c{1}", GROUP="%c{2}", MODE="%c{3}" EOF }, { -- 1.6.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html