mirror of
https://github.com/systemd/systemd.git
synced 2025-03-13 00:58:27 +03:00
test/udev-test.pl: last_rule is unsupported
the "last_rule" option hasn't been supported for some time. Therefore this test fails if a "not_exp_links" attribute is added, as it should be. Mark it appropriately.
This commit is contained in:
parent
46bc71b2b7
commit
17cce03153
@ -1373,11 +1373,14 @@ SUBSYSTEMS=="scsi", KERNEL=="sda1", SYMLINK+="start-%r-end"
|
|||||||
EOF
|
EOF
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
# This is not supported any more
|
||||||
desc => "last_rule option",
|
desc => "last_rule option",
|
||||||
devices => [
|
devices => [
|
||||||
{
|
{
|
||||||
devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1",
|
devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1",
|
||||||
exp_links => ["last"],
|
exp_links => ["last"],
|
||||||
|
not_exp_links => ["very-last"],
|
||||||
|
exp_nodev_error => "yes",
|
||||||
}],
|
}],
|
||||||
rules => <<EOF
|
rules => <<EOF
|
||||||
SUBSYSTEMS=="scsi", KERNEL=="sda1", SYMLINK+="last", OPTIONS="last_rule"
|
SUBSYSTEMS=="scsi", KERNEL=="sda1", SYMLINK+="last", OPTIONS="last_rule"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user