summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnna Czarnowska <anna.czarnowska@intel.com>2010-11-29 09:43:29 +1100
committerNeilBrown <neilb@suse.de>2010-11-29 09:43:29 +1100
commit976915080efc2e829fff8efaffb3dc76dc294975 (patch)
tree324c834432ea3dd233ceb5e1bbf563b1cbad01ea /test
parentde6ae75015c1f277327a78bbf19bbf531659c134 (diff)
Spare migration tests
This is a series of tests checking if mdadm Monitor migrates spares according to rules in /etc/mdadm.conf defined by POLICY lines. Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com> Signed-off-by: Marcin Labun <marcin.labun@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'test')
-rw-r--r--test3
1 files changed, 2 insertions, 1 deletions
diff --git a/test b/test
index a31ad40f..d1b45826 100644
--- a/test
+++ b/test
@@ -53,7 +53,8 @@ cleanup() {
$mdadm -Ssq
for d in 0 1 2 3 4 5 6 7 8 9 10 11 12
do
- losetup -d /dev/loop$d ; # rm -f $targetdir/mdtest$d
+ losetup -d /dev/loop$d ; # rm -f $targetdir/mdtest$d
+ rm -f /dev/disk/by-path/loop*
done
}