From 012d76ab7971f603ea02b98120d56695ff2b8038 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 12 Apr 2025 05:50:32 +0900 Subject: [PATCH] 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. --- test/units/TEST-87-AUX-UTILS-VM.validatefs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/TEST-87-AUX-UTILS-VM.validatefs.sh b/test/units/TEST-87-AUX-UTILS-VM.validatefs.sh index 8fa3616930..bee835d221 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