summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-06-15 08:30:12 +0200
committerNeilBrown <neilb@suse.de>2011-06-15 08:30:12 +0200
commitaf538d59c184b210cb6988fabeb1826939afe334 (patch)
tree60fe6f90b080152091b9d9bed255dcce6cdd1fce
parentRemove more duplicated code (diff)
downloadmdadm-af538d59c184b210cb6988fabeb1826939afe334.tar.xz
mdadm-af538d59c184b210cb6988fabeb1826939afe334.zip
test/ddf add a udevadm settle
We need to settle udev before assuming the devices exist. Signed-off-by: NeilBrown <neilb@suse.de
-rw-r--r--tests/10ddf-create1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/10ddf-create b/tests/10ddf-create
index 25b13529..b48887c1 100644
--- a/tests/10ddf-create
+++ b/tests/10ddf-create
@@ -33,6 +33,7 @@ mdadm -Ss
mdadm -A /dev/md/ddf0 $dev8 $dev9 $dev10 $dev11 $dev12
mdadm -I /dev/md/ddf0
+udevadm settle
s0a=`sha1sum /dev/md/r0`
s1a=`sha1sum /dev/md/r1`
s5a=`sha1sum /dev/md/r5`