chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] add OPTION="last_rule" to skip any later rule
[elogind.git]
/
test
/
udev-test.pl
diff --git
a/test/udev-test.pl
b/test/udev-test.pl
index c7e1a9d47e7f4d3898f9a070e1e4b7d2853888a1..52c5c8d481832ef12e6715ef2041f714bf974b4e 100644
(file)
--- a/
test/udev-test.pl
+++ b/
test/udev-test.pl
@@
-1115,9
+1115,18
@@
EOF
subsys => "block",
devpath => "/block/sda/sda1",
exp_name => "start-udev-root-end",
subsys => "block",
devpath => "/block/sda/sda1",
exp_name => "start-udev-root-end",
- option => "clean",
conf => <<EOF
BUS="scsi", KERNEL="sda1", NAME="start-%r-end"
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
},
);
EOF
},
);