summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-12 22:55:08 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:53:17 -0700
commit3b6ed8bb06d18a2855d530dcb9034e9d37114827 (patch)
treea277f9484ba8098e6fa9af293ee0e33e28407ae5 /test
parente5e322bc627a07d29a07e08f7c96bd644a3ae057 (diff)
[PATCH] add OPTION="last_rule" to skip any later rule
Diffstat (limited to 'test')
-rw-r--r--test/udev-test.pl11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index c7e1a9d47e..52c5c8d481 100644
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -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