In some migration tests, variable new_num_disks should be set to expected number of disks after migration. This is required for proper expected size calculation. Pass new_num_disks variable during test execution for: - 16imsm-r0_3d-migrate-r5_4d - 18imsm-r1_2d-takeover-r0_1d - 16imsm-r0_5d-migrate-r5_6d Signed-off-by: Michal Zylowski <michal.zylowski@xxxxxxxxx> --- tests/16imsm-r0_3d-migrate-r5_4d | 1 + tests/16imsm-r0_5d-migrate-r5_6d | 1 + tests/18imsm-r1_2d-takeover-r0_1d | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/16imsm-r0_3d-migrate-r5_4d b/tests/16imsm-r0_3d-migrate-r5_4d index 4f45479..265adf9 100644 --- a/tests/16imsm-r0_3d-migrate-r5_4d +++ b/tests/16imsm-r0_3d-migrate-r5_4d @@ -15,6 +15,7 @@ vol0_offset=0 # After: RAID 5, 4 disks, 64k chunk size vol0_new_level=5 +new_num_disks=4 vol0_new_num_comps=$num_disks vol0_new_chunk=64 diff --git a/tests/16imsm-r0_5d-migrate-r5_6d b/tests/16imsm-r0_5d-migrate-r5_6d index bee505b..535b609 100644 --- a/tests/16imsm-r0_5d-migrate-r5_6d +++ b/tests/16imsm-r0_5d-migrate-r5_6d @@ -17,5 +17,6 @@ vol0_offset=0 vol0_new_level=5 vol0_new_num_comps=$num_disks vol0_new_chunk=64 +new_num_disks=6 . tests/imsm-grow-template 0 1 diff --git a/tests/18imsm-r1_2d-takeover-r0_1d b/tests/18imsm-r1_2d-takeover-r0_1d index cb10ec9..fd5852e 100644 --- a/tests/18imsm-r1_2d-takeover-r0_1d +++ b/tests/18imsm-r1_2d-takeover-r0_1d @@ -17,6 +17,6 @@ vol0_offset=0 vol0_new_level=0 vol0_new_num_comps=1 vol0_new_chunk=64 -new_num_disks=0 +new_num_disks=1 . tests/imsm-grow-template 0 1 -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html