diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-05-20 11:47:39 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-05-20 15:05:47 +0200 |
commit | fe816c23cf075f3dcbaee35c471d270bcb12f777 (patch) | |
tree | 72177e35fc93f390142611ed898d9c7b14bc2cfa | |
parent | Merge pull request #32927 from yuwata/test-network-netdevsim (diff) | |
download | systemd-fe816c23cf075f3dcbaee35c471d270bcb12f777.tar.xz systemd-fe816c23cf075f3dcbaee35c471d270bcb12f777.zip |
test: wait for partition device rather than the whole disk
Fixes #32931.
-rwxr-xr-x | test/units/TEST-58-REPART.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/units/TEST-58-REPART.sh b/test/units/TEST-58-REPART.sh index ceba9cfe54..7280352fb9 100755 --- a/test/units/TEST-58-REPART.sh +++ b/test/units/TEST-58-REPART.sh @@ -961,7 +961,7 @@ EOF # shellcheck disable=SC2064 trap "rm -rf '$defs' '$imgs' ; losetup -d '$loop'" RETURN ERR - udevadm wait --timeout 60 --settle "${loop:?}" + udevadm wait --timeout 60 --settle "${loop:?}p1" "${loop:?}p2" # Check that the verity block sizes are as expected veritysetup dump "${loop}p2" | grep 'Data block size:' | grep -q '4096' @@ -1026,7 +1026,7 @@ EOF fi loop=$(losetup -P --show -f "$imgs/zzz") - udevadm wait --timeout 60 --settle "${loop:?}" + udevadm wait --timeout 60 --settle "${loop:?}p1" "${loop:?}p2" # Test that /usr/def did not end up in the root partition but other files did. mkdir "$imgs/mnt" |