From 6636f0efb3384b29ffb38da5e163b9f904e90b76 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Fri, 16 Oct 2009 17:57:28 +1100 Subject: tests/imsm: allow for rounding of array size. IMSM rounds array size to a multiple of 1024K, so our tests must assume this. Signed-off-by: NeilBrown --- tests/09imsm-create-fail-rebuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/09imsm-create-fail-rebuild b/tests/09imsm-create-fail-rebuild index 80695764..68fdd096 100644 --- a/tests/09imsm-create-fail-rebuild +++ b/tests/09imsm-create-fail-rebuild @@ -1,5 +1,8 @@ # sanity check array creation +# IMSM rounds to multiples of one mebibyte - 1024K +DEV_ROUND_K=1024 + num_disks=2 mdadm -CR $container -e imsm -n $num_disks $dev0 $dev1 imsm_check container $num_disks -- cgit v1.2.3