diff options
author | Martin Wilck <mwilck@suse.com> | 2018-04-24 18:08:18 +0200 |
---|---|---|
committer | Michal Sekletár <msekleta@redhat.com> | 2020-11-02 11:43:14 +0100 |
commit | 17cce031531a5d3f38a27374c99d1bdba5959dbd (patch) | |
tree | bfbbe2f9c7c13727ee8f5a8d08097b6d16cc6ef0 /test/udev-test.pl | |
parent | test/udev-test.pl: fix wrong test descriptions (diff) | |
download | systemd-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-x | test/udev-test.pl | 3 |
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" |