diff options
author | NeilBrown <neilb@suse.de> | 2011-03-22 00:09:30 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-03-22 00:09:30 +0100 |
commit | 019ca1e1da0754473d85c96756b376c260f42b02 (patch) | |
tree | 8b7699c017aeee04e52ca79b2a62dc6db1716c89 /test | |
parent | RAID-6 check standalone (diff) | |
download | mdadm-019ca1e1da0754473d85c96756b376c260f42b02.tar.xz mdadm-019ca1e1da0754473d85c96756b376c260f42b02.zip |
test: call "udevadm settle" after stopping array.
If we don't do this, then the unlink from /dev might happen
after the next step in the test creates something in /dev,
and device names seem to go missing.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'test')
-rwxr-xr-x | test | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -101,6 +101,9 @@ mdadm() { * ) $mdadm 2> $targetdir/stderr --quiet "$@" esac rv=$? + case $* in + *-S* ) udevadm settle;; + esac cat >&2 $targetdir/stderr return $rv } |