mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00:00
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:
parent
b37ed039f0
commit
3e550801e7
|
@ -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))" ]]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue