diff options
author | Martin Wilck <mwilck@suse.com> | 2018-04-24 18:08:18 +0200 |
---|---|---|
committer | The Plumber <50238977+systemd-rhel-bot@users.noreply.github.com> | 2021-01-25 15:05:18 +0100 |
commit | 2d0b828715e67f7accda6f73481deb74febebcb6 (patch) | |
tree | 2cb6e1240ba98dcc5a3c30529f92e0162fe2cd2e | |
parent | 0e0b90ffcf0731865846bfa2754a809cc2b8c53e (diff) | |
download | systemd-2d0b828715e67f7accda6f73481deb74febebcb6.tar.gz |
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.
(cherry picked from commit 17cce031531a5d3f38a27374c99d1bdba5959dbd)
Related: #1642728
-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 d5d0e130e3..a9c2dd95f1 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" |