TEST-64-UDEV-STORAGE: Make nvme_subsystem expected pci symlinks more generic
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 28 Jun 2024 12:20:34 +0000 (14:20 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 28 Jun 2024 12:20:34 +0000 (14:20 +0200)
commit72d121b60174b825bf1390958eb1b55f34c5ff5b
tree197815bbfc8319e6044a01d627e9945fa8cdcb20
parent3cdc8da5ad4beb9bdb06e9c6ca3544da410454ce
TEST-64-UDEV-STORAGE: Make nvme_subsystem expected pci symlinks more generic

When running the test on aarch64 the symlinks look as follows:

"""
[root@H ~]# ls /dev/disk/by-path
platform-4010000000.pcie-pci-0000:00:04.0-scsi-0:0:0:0       platform-4010000000.pcie-pci-0000:00:04.0-scsi-0:0:0:0-part1  platform-4010000000.pcie-pci-0000:00:05.0-nvme-16
platform-4010000000.pcie-pci-0000:00:04.0-scsi-0:0:0:0-part  platform-4010000000.pcie-pci-0000:00:04.0-scsi-0:0:0:0-part2  platform-4010000000.pcie-pci-0000:00:05.0-nvme-17
"""

So let's make the PCI patterns a little more generic so they match
both the x86 and the aarch64 paths.
test/units/TEST-64-UDEV-STORAGE.sh