chiark / gitweb /
[PATCH] add OPTION="last_rule" to skip any later rule
[elogind.git] / test / udev-test.pl
index c7e1a9d..52c5c8d 100644 (file)
@@ -1115,11 +1115,20 @@ EOF
                subsys          => "block",
                devpath         => "/block/sda/sda1",
                exp_name        => "start-udev-root-end",
-               option          => "clean",
                conf            => <<EOF
 BUS="scsi", KERNEL="sda1", NAME="start-%r-end"
 EOF
        },
+       {
+               desc            => "last_rule option",
+               subsys          => "block",
+               devpath         => "/block/sda/sda1",
+               exp_name        => "last",
+               conf            => <<EOF
+BUS="scsi", KERNEL="sda1", SYMLINK="last", OPTIONS="last_rule"
+BUS="scsi", KERNEL="sda1", NAME="very-last"
+EOF
+       },
 );
 
 # set env