summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test2
1 files changed, 2 insertions, 0 deletions
diff --git a/test b/test
index 22f142f..f1555f7 100644
--- a/test
+++ b/test
@@ -180,6 +180,8 @@ do
rm -f $targetdir/stderr
# stop all arrays, just incase some script left an array active.
mdadm -Ssq
+ mdadm --zero $devlist 2> /dev/null
+ mdadm --zero $devlist 2> /dev/null
# source script in a subshell, so it has access to our
# namespace, but cannot change it.
if ( set -ex ; . $script ) 2> $targetdir/log