]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-64-UDEV-STORAGE: remove obsolete NVMe symlink for nvme_subsystem
authorBryan Gurney <bgurney@redhat.com>
Wed, 18 Sep 2024 20:59:56 +0000 (16:59 -0400)
committerBryan Gurney <bgurney@redhat.com>
Wed, 18 Sep 2024 20:59:59 +0000 (16:59 -0400)
In the nvme_subsystem test, there are only namespace IDs 16 and 17,
so there would no longer be an "obsolete" symlink created, since this
test scenaro does not create a namespace with ID 1.

Signed-off-by: Bryan Gurney <bgurney@redhat.com>
test/units/TEST-64-UDEV-STORAGE.sh

index 431b5305e4983077b3def5ab10ee7b24934a3bcc..5d6ed95e2d2ad33c527288f3ebbe5a1b1dea4f39 100755 (executable)
@@ -227,7 +227,6 @@ testcase_nvme_basic() {
 testcase_nvme_subsystem() {
     local expected_symlinks=(
         # Controller(s)
-        /dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_deadbeef
         /dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_deadbeef_16
         /dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_deadbeef_17
         # Shared namespaces