summaryrefslogtreecommitdiffstats
path: root/test/udev-test.pl
diff options
context:
space:
mode:
authorMartin Wilck <mwilck@suse.com>2018-04-24 18:08:18 +0200
committerMichal Sekletár <msekleta@redhat.com>2020-11-02 11:43:14 +0100
commit17cce031531a5d3f38a27374c99d1bdba5959dbd (patch)
treebfbbe2f9c7c13727ee8f5a8d08097b6d16cc6ef0 /test/udev-test.pl
parenttest/udev-test.pl: fix wrong test descriptions (diff)
downloadsystemd-17cce031531a5d3f38a27374c99d1bdba5959dbd.tar.xz
systemd-17cce031531a5d3f38a27374c99d1bdba5959dbd.zip
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.
Diffstat (limited to 'test/udev-test.pl')
-rwxr-xr-xtest/udev-test.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 15693c26b1..58ce49c161 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -1373,11 +1373,14 @@ SUBSYSTEMS=="scsi", KERNEL=="sda1", SYMLINK+="start-%r-end"
EOF
},
{
+ # This is not supported any more
desc => "last_rule option",
devices => [
{
devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1",
exp_links => ["last"],
+ not_exp_links => ["very-last"],
+ exp_nodev_error => "yes",
}],
rules => <<EOF
SUBSYSTEMS=="scsi", KERNEL=="sda1", SYMLINK+="last", OPTIONS="last_rule"