diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-12-09 00:59:18 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-12-09 00:59:18 +0100 |
commit | 2952742d3252fc8817c230336b07644e9238e4c2 (patch) | |
tree | 13fcf56752044f537c046fb527be13605da814a4 /test | |
parent | test: enable per-test custom environment setup/teardown (diff) | |
download | mdadm-2952742d3252fc8817c230336b07644e9238e4c2.tar.xz mdadm-2952742d3252fc8817c230336b07644e9238e4c2.zip |
workaround a hald interaction and quiet cleanup
The 'udevadm settle' call appears to resolve:
mdadm: failed to stop array /dev/md127: Device or resource busy
Perhaps a running process, mounted filesystem or active volume group?
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'test')
-rw-r--r-- | test | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -40,7 +40,8 @@ mdsize11=19992 mdsize12=19988 cleanup() { - $mdadm -Ss + udevadm settle + $mdadm -Ssq for d in 0 1 2 3 4 5 6 7 do losetup -d /dev/loop$d ; # rm -f $targetdir/mdtest$d |