mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
test: also wait for all queued events being processed
Otherwise, if already 'remove' uevent for the device is queued, then
the device node may not exist any more when 'udevadm wait' command succeeds.
Follow-up for 90941d458a.
This commit is contained in:
@@ -98,7 +98,7 @@ getfattr --dump /tmp/validatefs-test.mount/efi
|
||||
|
||||
# the generic one we must mount by hand
|
||||
mkdir -p /tmp/validatefs-test.mount/somewhere/else
|
||||
udevadm wait --timeout=30 /dev/disk/by-label/qnurx
|
||||
udevadm wait --settle --timeout=30 /dev/disk/by-label/qnurx
|
||||
mount /dev/disk/by-label/qnurx /tmp/validatefs-test.mount/somewhere/else
|
||||
getfattr --dump /tmp/validatefs-test.mount/somewhere/else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user