diff options
author | Adam Kwolek <adam.kwolek@intel.com> | 2011-02-09 09:31:29 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-02-09 20:51:24 +1100 |
commit | d5312ebf6847a0e5529838e25a61ee7ece1141b7 (patch) | |
tree | 75e4e84d7763c78e4a6b681923b7c0068f9d7849 /tests/13imsm-r0_r0_2d-grow-r0_r0_5d | |
parent | 3cd4e7c4dd1f58eb4d3bc4069dec34a1422ead70 (diff) | |
download | mdadm-d5312ebf6847a0e5529838e25a61ee7ece1141b7.tar.gz |
UT FIX: Pass all UT in suit 13
Parameters in UT suit 13 were wrongly chosen. This causes that
computed number of backup blocks was too big comparing to loop devices
size used in test. Changes in test parameters (chunk, array size)
causes that backup blocks passes mdadm condition for very small
loop devices.
Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/13imsm-r0_r0_2d-grow-r0_r0_5d')
-rw-r--r-- | tests/13imsm-r0_r0_2d-grow-r0_r0_5d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/13imsm-r0_r0_2d-grow-r0_r0_5d b/tests/13imsm-r0_r0_2d-grow-r0_r0_5d index 80e0cf0..1b851a9 100644 --- a/tests/13imsm-r0_r0_2d-grow-r0_r0_5d +++ b/tests/13imsm-r0_r0_2d-grow-r0_r0_5d @@ -10,13 +10,13 @@ spare_list="$dev2 $dev3 $dev4" # Before: RAID 0 volume in slot #0, 2 disks, 64k chunk size # RAID 0 volume in slot #1, 2 disks, 256k chunk size vol0_level=0 -vol0_comp_size=$((5 * 1024)) +vol0_comp_size=$((4 * 1024)) vol0_chunk=64 vol0_num_comps=$num_disks vol0_offset=0 vol1_level=0 -vol1_comp_size=$((5 * 1024)) +vol1_comp_size=$((6 * 1024)) vol1_chunk=256 vol1_num_comps=$num_disks vol1_offset=$((vol0_comp_size + 2048)) |