diff options
author | NeilBrown <neilb@suse.de> | 2010-08-05 08:50:03 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-08-05 08:50:03 +0200 |
commit | 8d848be1ede5a2827854e19a5e3628b6d4f91103 (patch) | |
tree | bfe899ff80e547c82d400aa2c2045b7a1c12a7d5 | |
parent | Compile with -Wextra by default (diff) | |
download | mdadm-8d848be1ede5a2827854e19a5e3628b6d4f91103.tar.xz mdadm-8d848be1ede5a2827854e19a5e3628b6d4f91103.zip |
udevadm settle in autodetect test
some udev activity was interfering with the partitioning.
Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r-- | tests/07autodetect | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/07autodetect b/tests/07autodetect index 156cced3..917e0d66 100644 --- a/tests/07autodetect +++ b/tests/07autodetect @@ -14,12 +14,14 @@ fi mdadm -CR -e 0 $mdp0 -l0 -f -n1 $dev0 mdadm -CR -e 0 $mdp1 -l0 -f -n1 $dev1 +udevadm settle sfdisk $mdp0 >&2 << END ,,FD END sfdisk $mdp1 >&2 << END ,,FD END +udevadm settle mdadm -CR -e 0 $md0 -l1 -n2 ${mdp0}p1 ${mdp1}p1 check resync check raid1 |