From 5c351af129a6ce7f8ef431709bc91bfffb43073e Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 6 Jul 2015 13:48:59 +1000 Subject: [PATCH] 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 --- test | 1 + 1 file changed, 1 insertion(+) diff --git a/test b/test index 9610b65..ef5ad8e 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