summaryrefslogtreecommitdiffstats
path: root/tests/16imsm-r5_5d-migrate-r0_5d
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-06-16 06:18:18 +0200
committerNeilBrown <neilb@suse.de>2011-06-16 06:18:18 +0200
commit4ccc2562ac8dd836cdb881c88a080441c5abd172 (patch)
tree316f6f6e86823019eb4ac93991c9e8e333132560 /tests/16imsm-r5_5d-migrate-r0_5d
parenttest/ddf add a udevadm settle (diff)
downloadmdadm-4ccc2562ac8dd836cdb881c88a080441c5abd172.tar.xz
mdadm-4ccc2562ac8dd836cdb881c88a080441c5abd172.zip
More fixes for tests.
Some more fixes to help some tests run properly. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/16imsm-r5_5d-migrate-r0_5d')
-rw-r--r--tests/16imsm-r5_5d-migrate-r0_5d4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/16imsm-r5_5d-migrate-r0_5d b/tests/16imsm-r5_5d-migrate-r0_5d
index ff5a2d82..323ca52e 100644
--- a/tests/16imsm-r5_5d-migrate-r0_5d
+++ b/tests/16imsm-r5_5d-migrate-r0_5d
@@ -1,6 +1,6 @@
. tests/env-imsm-template
-# RAID 5 volume (5 disks) migration to RAID 0 volume (5 disks)
+# RAID 5 volume (5 disks) migration to RAID 0 volume (4 disks)
# POSITIVE test
num_disks=5
@@ -15,7 +15,7 @@ vol0_offset=0
# After: RAID 0 volume, 5 disks, 64k chunk size
vol0_new_level=0
-vol0_new_num_comps=$num_disks
+vol0_new_num_comps=$((num_disks - 1))
vol0_new_chunk=64
. tests/imsm-grow-template 0 1