summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-07-06 05:48:59 +0200
committerNeilBrown <neilb@suse.de>2015-07-06 05:48:59 +0200
commit5c351af129a6ce7f8ef431709bc91bfffb43073e (patch)
treeba04cecd55d4714522328206e403fa7631d83d4c /test
parentGrow: remove stray tracing message. (diff)
downloadmdadm-5c351af129a6ce7f8ef431709bc91bfffb43073e.tar.xz
mdadm-5c351af129a6ce7f8ef431709bc91bfffb43073e.zip
test: stop all arrays before starting test.
As well a cleaning up loop devices, stop all arrays. After all, we cannot do the one without the other. Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest1
1 files changed, 1 insertions, 0 deletions
diff --git a/test b/test
index 9610b657..ef5ad8eb 100755
--- a/test
+++ b/test
@@ -99,6 +99,7 @@ do_setup() {
# immediately
while grep loop /proc/partitions > /dev/null 2>&1
do
+ mdadm -Ss
losetup -d /dev/loop[0-9]* 2> /dev/null
sleep 1
done