diff --git a/test/units/testsuite-60.sh b/test/units/testsuite-60.sh index c221b19c36e..13fe139a38f 100755 --- a/test/units/testsuite-60.sh +++ b/test/units/testsuite-60.sh @@ -40,8 +40,8 @@ label:gpt name="loop${1?}-part1" EOF LOOP=$(losetup -P --show -f "/tmp/testsuite-60-dependencies-${1?}.img") - udevadm wait --settle --timeout=10 "${LOOP}p1" - udevadm lock --device="${LOOP}p1" mkfs.ext4 -L "partname${1?}-1" "${LOOP}p1" + udevadm wait --settle --timeout=10 "${LOOP}" + udevadm lock --device="${LOOP}" mkfs.ext4 -L "partname${1?}-1" "${LOOP}p1" } check_dependencies() {