[parted-devel] [PATCH] tests: Add udevadm settle to wait_for_ loop (#1260664)

Phillip Susi psusi at ubuntu.com
Mon Apr 11 00:58:10 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 03/01/2016 04:45 PM, Brian C. Lane wrote:
> 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 --- tests/t-lib-helpers.sh            | 2 ++ 
> tests/t-local.sh                  | 2 ++ tests/t6001-psep.sh
> | 2 ++ tests/t6004-dm-many-partitions.sh | 1 + 
> tests/t6005-dm-uuid.sh            | 2 ++ 
> tests/t6100-mdraid-partitions.sh  | 1 + 6 files changed, 10
> insertions(+)

Why add the require_udevadm_settle to these 4 specific tests?  Other
tests call wait_for_dev_to_appear.  Don't they need it to?  Shouldn't
the require be added to t-lib-helpers or somesuch to require it for
all tests that call wait_for_dev_to_appear?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCgAGBQJXCvaiAAoJEBB5UWFcu6UWULcH/1mhRE+shQyh5EpqqQTNs++C
ZogsSl2ERQBFDBlvFL8W/aecMSnYiYmgL9vRBXIdUvmFDLHUHxDpMr4lzOvQIk7L
KjKTGR87Un+kzFrRKecAV4KhxGHC3H0c0ab0Xyx3vOrQVTp0v9qwg9PEy3nA+SY1
xJMKa3ty7PYSDGUEGTSnsKLxQhTPndwYdVwa4sc8ac4t8npHIkepXsLJZw/lizBJ
elkZ0IdppUSm5pXvn/LX9JiZ6JcPPdWsfilGgNAPHEDbdTXFjZNFwUKwW98dmtug
GoHRxnopRFJS83L3DclnrG68yxknQYseFVwh2IyJncxIinIaLSHtRcF4fxh8dZI=
=xZel
-----END PGP SIGNATURE-----



More information about the parted-devel mailing list