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 1a79bab..bd8d279 100644
--- a/test
+++ b/test
@@ -174,6 +174,8 @@ do
if [ -f "$script" ]
then
rm -f $targetdir/stderr
+ # stop all arrays, just incase some script left an array active.
+ mdadm -Ssq
# source script in a subshell, so it has access to our
# namespace, but cannot change it.
if ( set -ex ; . $script ) 2> $targetdir/log