From: Yu Watanabe Date: Fri, 11 Apr 2025 20:50:32 +0000 (+0900) Subject: test: also wait for all queued events being processed X-Git-Tag: v258-rc1~838 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=012d76ab7971f603ea02b98120d56695ff2b8038;p=thirdparty%2Fsystemd.git 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 90941d458a2f6b03cb782ab55c16f605b44c4fd8. --- diff --git a/test/units/TEST-87-AUX-UTILS-VM.validatefs.sh b/test/units/TEST-87-AUX-UTILS-VM.validatefs.sh index 8fa36169301..bee835d2213 100755 --- a/test/units/TEST-87-AUX-UTILS-VM.validatefs.sh +++ b/test/units/TEST-87-AUX-UTILS-VM.validatefs.sh @@ -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