diff options
author | Brian C. Lane <bcl@redhat.com> | 2016-03-01 10:38:26 -0800 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2016-12-22 13:49:28 -0800 |
commit | f5cc84cdb5a607449c339cad50fe8be5dd77eb6c (patch) | |
tree | 35c1e51663543db99fc1bfb0be5ee8f702441527 /tests/t6004-dm-many-partitions.sh | |
parent | 2a13cc944e827dd23d2ef01a69c731fb017eb48f (diff) | |
download | parted-f5cc84cdb5a607449c339cad50fe8be5dd77eb6c.tar.gz |
tests: Add udevadm settle to wait_for_ loop (#1260664)
Sometimes the device will vanish after the wait_for_dev_to_appear exits.
Add udevadm settle in an attempt to make sure the udev system is done
flapping around and the device will stay in place.
Related: rhbz#1260664
Diffstat (limited to 'tests/t6004-dm-many-partitions.sh')
-rwxr-xr-x | tests/t6004-dm-many-partitions.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/t6004-dm-many-partitions.sh b/tests/t6004-dm-many-partitions.sh index 7ebc48a..01d7fc0 100755 --- a/tests/t6004-dm-many-partitions.sh +++ b/tests/t6004-dm-many-partitions.sh @@ -20,6 +20,7 @@ . "${srcdir=.}/init.sh"; path_prepend_ ../parted require_root_ +require_udevadm_settle_ (dmsetup --help) > /dev/null 2>&1 || skip_test_ "No dmsetup installed" ss=$sector_size_ |