diff options
author | Czarnowska, Anna <anna.czarnowska@intel.com> | 2011-03-24 21:43:44 +0000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-03-28 10:34:17 +1100 |
commit | ed02d9cc0408f26fd22b91eaefc0266afbff2181 (patch) | |
tree | 84c4ca861386021f53c2d21bb616cab23413ce0f /tests/11spare-migration | |
parent | 7187750e8dfa7a93135a145e10c88569d4e7d767 (diff) |
tests: use $config to store test config path
We also need to tell Monitor where to look for Policy in 11spare-migration tests
Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/11spare-migration')
-rw-r--r-- | tests/11spare-migration | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/11spare-migration b/tests/11spare-migration index 3567883f..58f1df99 100644 --- a/tests/11spare-migration +++ b/tests/11spare-migration @@ -25,7 +25,7 @@ listfailed="yes" monitor(){ [ -z $monitorpid ] || return if [ "$scan" == "yes" ]; then - $mdadm -F -d 1 --scan --mail root@localhost & + $mdadm -F -d 1 --scan --mail root@localhost -c $config & monitorpid=$! return fi @@ -44,10 +44,10 @@ monitor(){ done if [ -n "$mddevs" ]; then if [ "$verbose" != "yes" ]; then - $mdadm -F -d 1 $mddevs >&2 & + $mdadm -F -d 1 $mddevs -c $config >&2 & monitorpid=$! else - $mdadm -F -t -d 1 $mddevs & + $mdadm -F -t -d 1 $mddevs -c $config & monitorpid=$! fi fi |