diff options
author | Neil Brown <neilb@suse.de> | 2008-07-12 20:27:42 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-12 20:27:42 +1000 |
commit | 908ef18519f7d5780ebf00b19b913f8282eb4175 (patch) | |
tree | 8247b6a19e33cd0a20f5c35bb3745b5ccd903cce /test | |
parent | 3576e302fe16ee7c5c553385e5b439432e6461e4 (diff) | |
download | mdadm-908ef18519f7d5780ebf00b19b913f8282eb4175.tar.gz mdadm-908ef18519f7d5780ebf00b19b913f8282eb4175.tar.xz mdadm-908ef18519f7d5780ebf00b19b913f8282eb4175.zip |
Stop all arrays before running each test in regression test driver.
Sometimes I forget to stop arrays at the end of scripts, and
that shows errors in the next script, which is confusing.
Diffstat (limited to 'test')
-rw-r--r-- | test | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -171,6 +171,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 |