summaryrefslogtreecommitdiffstats
path: root/tests/13imsm-r0_r0_2d-grow-r0_r0_5d
diff options
context:
space:
mode:
authorMichal Zylowski <michal.zylowski@intel.com>2018-06-22 16:34:07 +0200
committerJes Sorensen <jsorensen@fb.com>2018-07-11 19:15:37 +0200
commit6adfeaa7a23775a70d22b79a672a4b1a542455b4 (patch)
tree38a593b1711f33a640b21f157ed14c193e1b73fc /tests/13imsm-r0_r0_2d-grow-r0_r0_5d
parentCoverity: Resource leak: close fd before return (diff)
downloadmdadm-6adfeaa7a23775a70d22b79a672a4b1a542455b4.tar.xz
mdadm-6adfeaa7a23775a70d22b79a672a4b1a542455b4.zip
tests, imsm: Set correct expected offset between volumes
Since 611d9529 (imsm: change reserved space to 4MB) gap between RAID volumes has changed. Tests should expect correct offset in size calulations. Fix expected offset for tests. Signed-off-by: Michal Zylowski <michal.zylowski@intel.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'tests/13imsm-r0_r0_2d-grow-r0_r0_5d')
-rw-r--r--tests/13imsm-r0_r0_2d-grow-r0_r0_5d2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/13imsm-r0_r0_2d-grow-r0_r0_5d b/tests/13imsm-r0_r0_2d-grow-r0_r0_5d
index 1b851a9b..0da9ef32 100644
--- a/tests/13imsm-r0_r0_2d-grow-r0_r0_5d
+++ b/tests/13imsm-r0_r0_2d-grow-r0_r0_5d
@@ -19,7 +19,7 @@ vol1_level=0
vol1_comp_size=$((6 * 1024))
vol1_chunk=256
vol1_num_comps=$num_disks
-vol1_offset=$((vol0_comp_size + 2048))
+vol1_offset=$((vol0_comp_size + 4096))
# After: RAID 0 volume in slot #0, 5 disks, 64k chunk size
# RAID 0 volume in slot #1, 5 disks, 256k chunk size