summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-11-05 13:44:58 +0100
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-11-07 08:20:12 +0100
commit0d28a5dcc17feaaee803cd6d08e50e0a2da30f43 (patch)
tree1f0f40a88e923a9d78178851f5e7b509a905556f /tests
parentmdopen: remove wrong condition (diff)
downloadmdadm-0d28a5dcc17feaaee803cd6d08e50e0a2da30f43.tar.xz
mdadm-0d28a5dcc17feaaee803cd6d08e50e0a2da30f43.zip
tests: remove --auto
It is deprecated and it is not tested now. Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/18imsm-1d-takeover-r0_1d4
-rw-r--r--tests/imsm-grow-template10
2 files changed, 7 insertions, 7 deletions
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