TEST-64-UDEV-STORAGE: Add missing udevadm settle

Otherwise we try to do the check before the udev queue is empty which
will make it fail.
This commit is contained in:
Daan De Meyer
2024-05-14 12:43:28 +02:00
parent b37ed039f0
commit 3e550801e7
+1
View File
@@ -257,6 +257,7 @@ $(for ((j = 1; j <= num_part; j++)); do echo 'name="Hello world", size=2M'; done
EOF
done
udevadm settle
lsblk --noheadings -a -o NAME,PARTLABEL
[[ "$(lsblk --noheadings -a -o NAME,PARTLABEL | grep -c "Hello world")" -eq "$((num_part * num_disk))" ]]
}