chiark / gitweb /
extend hack to allow TEST=="*/start"
[elogind.git] / test / udev-test.pl
index fe1c6da4f9391ee4c0459081b1a5a87bb3ea9ec6..2621e2b13ae6baad2feb9245ff5aae9c058e2d86 100755 (executable)
@@ -1596,6 +1596,15 @@ EOF
                exp_name        => "relative",
                rules           => <<EOF
 KERNEL=="sda", TEST=="size", NAME="relative"
+EOF
+       },
+       {
+               desc            => "TEST wildcard substitution (find queue/nr_requests)",
+               subsys          => "block",
+               devpath         => "/block/sda",
+               exp_name        => "found-subdir",
+               rules           => <<EOF
+KERNEL=="sda", TEST=="*/nr_requests", NAME="found-subdir"
 EOF
        },
 );