]> git.ipfire.org Git - thirdparty/systemd.git/commit - test/units/testsuite-60.sh
test: wait for whole block device instead of partition
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Aug 2022 22:09:21 +0000 (07:09 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 20 Aug 2022 00:01:14 +0000 (09:01 +0900)
commit1af39ef2f6ea7f92ea2cc35b3a5d0e720db6ea4a
tree10d0745df520b276aafdb5a2a262f4ed218fed5f
parentbea9d62bdb499b7b2a49a478cac51d46416808d4
test: wait for whole block device instead of partition

In 'udevadm lock' the device /dev/loopX is locked instead of
/dev/loopXp1. Hence, 'udevadm wait' should wait for /dev/loopX.

For some reasons, the kernel sometimes does not emit uevent for
partitions, and 'udevadm wait' for partitions may fail.

Fixes #24360.
test/units/testsuite-60.sh