summaryrefslogtreecommitdiffstats
path: root/tests/13imsm-r0_r0_3d-grow-r0_r0_4d
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_3d-grow-r0_r0_4d
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_3d-grow-r0_r0_4d')
-rw-r--r--tests/13imsm-r0_r0_3d-grow-r0_r0_4d2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/13imsm-r0_r0_3d-grow-r0_r0_4d b/tests/13imsm-r0_r0_3d-grow-r0_r0_4d
index 27ba83b3..1ff60257 100644
--- a/tests/13imsm-r0_r0_3d-grow-r0_r0_4d
+++ b/tests/13imsm-r0_r0_3d-grow-r0_r0_4d
@@ -19,7 +19,7 @@ vol1_level=0
vol1_comp_size=$((5 * 1024))
vol1_chunk=128
vol1_num_comps=$num_disks
-vol1_offset=$((vol0_comp_size + 2048))
+vol1_offset=$((vol0_comp_size + 4096))
# After: RAID0 volume in slot #0, 4 disks, 128k chunk size
# RAID0 volume in slot #1, 4 disks, 512k chunk size