]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-64-UDEV-STORAGE: test for absence of obsolete NVMe symlink 34482/head
authorBryan Gurney <bgurney@redhat.com>
Tue, 15 Oct 2024 14:22:07 +0000 (10:22 -0400)
committerBryan Gurney <bgurney@redhat.com>
Tue, 15 Oct 2024 14:22:07 +0000 (10:22 -0400)
Signed-off-by: Bryan Gurney <bgurney@redhat.com>
test/units/TEST-64-UDEV-STORAGE.sh

index 5d6ed95e2d2ad33c527288f3ebbe5a1b1dea4f39..318e98ce4769de8faab23a1fd5cacbb8bfdaf2db 100755 (executable)
@@ -219,6 +219,7 @@ testcase_nvme_basic() {
     for i in "${expected_symlinks[@]}"; do
         udevadm wait --settle --timeout=30 "$i"
     done
+    test ! -e /dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_deadbeef
 
     lsblk --noheadings | grep "^nvme"
     [[ "$(lsblk --noheadings | grep -c "^nvme")" -ge 20 ]]