]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: wait for partition processed by udevd
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 May 2024 01:12:25 +0000 (10:12 +0900)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 17 May 2024 05:43:29 +0000 (07:43 +0200)
Fixes #32695.

test/units/TEST-58-REPART.sh

index d3cb2f8bb0431104e014b5e6c7f29b84850222cb..ceba9cfe54dcedcdfd9add44e00c6cd5b9d32b63 100755 (executable)
@@ -373,7 +373,7 @@ $imgs/zzz7 : start=     6291416, size=       98304, type=0FC63DAF-8483-4772-8E79
     fi
 
     loop="$(losetup -P --show --find "$imgs/zzz")"
-    udevadm wait --timeout 60 --settle "${loop:?}"
+    udevadm wait --timeout 60 --settle "${loop:?}p7"
 
     volume="test-repart-$RANDOM"