diff options
author | NeilBrown <neilb@suse.de> | 2013-08-05 14:55:13 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-08-05 14:55:13 +1000 |
commit | 9540cc244dfc56d40f686d8f63aa5b6d73663bcf (patch) | |
tree | d41a15af6b6cce11cad6dce23cab744d8df72f2a /test | |
parent | 4389b648bb9dc8ab61ce8777654d59634dafc737 (diff) |
test: ensure testing uses correct mdmon
When testing we want to run mdmon directly, not use
systemctl to get systemd to run it.
So allow an environment variable to make that choice.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'test')
-rwxr-xr-x | test | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -30,6 +30,9 @@ if grep -s 'Personalities : .*multipath' > /dev/null /proc/mdstat ; then fi INTEGRITY=yes +# make sure to test local mdmon, not system one +export MDADM_NO_SYSTEMCTL=1 + # assume md0, md1, md2 exist in /dev md0=/dev/md0 md1=/dev/md1 md2=/dev/md2 mdp0=/dev/md_d0 |