summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest2
-rw-r--r--tests/18imsm-1d-takeover-r0_1d4
-rw-r--r--tests/imsm-grow-template10
3 files changed, 8 insertions, 8 deletions
diff --git a/test b/test
index 3a05bc9b..f8f07ff4 100755
--- a/test
+++ b/test
@@ -78,7 +78,7 @@ mdadm() {
$mdadm --zero $args > /dev/null
}
done
- $mdadm 2> $targetdir/stderr "$@" --auto=yes
+ $mdadm 2> $targetdir/stderr "$@"
;;
* )
$mdadm 2> $targetdir/stderr "$@"
diff --git a/tests/18imsm-1d-takeover-r0_1d b/tests/18imsm-1d-takeover-r0_1d
index 6f5cf5a6..203e240f 100644
--- a/tests/18imsm-1d-takeover-r0_1d
+++ b/tests/18imsm-1d-takeover-r0_1d
@@ -7,12 +7,12 @@ vol0_num_comps=1
vol0_comp_size=$((10 * 1024))
# Create container
-mdadm --create --run $container --auto=md --metadata=imsm --force --raid-disks=$vol0_num_comps $dev0
+mdadm --create --run $container --metadata=imsm --force --raid-disks=$vol0_num_comps $dev0
check wait
imsm_check container $vol0_num_comps
# Create RAID 0 volume
-mdadm --create --run $member0 --auto=md --level=0 --size=$vol0_comp_size --chunk=64 --force --raid-disks=$vol0_num_comps $dev0
+mdadm --create --run $member0 --level=0 --size=$vol0_comp_size --chunk=64 --force --raid-disks=$vol0_num_comps $dev0
check wait
# Test the member
diff --git a/tests/imsm-grow-template b/tests/imsm-grow-template
index 1a8676e0..f69e0257 100644
--- a/tests/imsm-grow-template
+++ b/tests/imsm-grow-template
@@ -37,24 +37,24 @@ function grow_member() {
}
# Create container
-mdadm --create --run $container --auto=md --metadata=imsm --raid-disks=$num_disks $device_list
+mdadm --create --run $container --metadata=imsm --raid-disks=$num_disks $device_list
check wait
imsm_check container $num_disks
# Create first volume inside the container
if [[ ! -z $vol0_chunk ]]; then
- mdadm --create --run $member0 --auto=md --level=$vol0_level --size=$vol0_comp_size --chunk=$vol0_chunk --raid-disks=$num_disks $device_list
+ mdadm --create --run $member0 --level=$vol0_level --size=$vol0_comp_size --chunk=$vol0_chunk --raid-disks=$num_disks $device_list
else
- mdadm --create --run $member0 --auto=md --level=$vol0_level --size=$vol0_comp_size --raid-disks=$num_disks $device_list
+ mdadm --create --run $member0 --level=$vol0_level --size=$vol0_comp_size --raid-disks=$num_disks $device_list
fi
check wait
# Create second volume inside the container (if defined)
if [ ! -z $vol1_level ]; then
if [ ! -z $vol1_chunk ]; then
- mdadm --create --run $member1 --auto=md --level=$vol1_level --size=$vol1_comp_size --chunk=$vol1_chunk --raid-disks=$num_disks $device_list
+ mdadm --create --run $member1 --level=$vol1_level --size=$vol1_comp_size --chunk=$vol1_chunk --raid-disks=$num_disks $device_list
else
- mdadm --create --run $member1 --auto=md --level=$vol1_level --size=$vol1_comp_size --raid-disks=$num_disks $device_list
+ mdadm --create --run $member1 --level=$vol1_level --size=$vol1_comp_size --raid-disks=$num_disks $device_list
fi
check wait
fi