summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-05-21 14:25:40 +1000
committerNeil Brown <neilb@suse.de>2007-05-21 14:25:40 +1000
commit69646c1483b7b728d77ae2c944d624f8c05ad4db (patch)
tree46d30b3256dc879e2d626391604e2a4eb9e3df6c /test
parentf752781f81a68588d0225cf8e3d96eeb6867b245 (diff)
downloadmdadm-69646c1483b7b728d77ae2c944d624f8c05ad4db.tar.gz
mdadm-69646c1483b7b728d77ae2c944d624f8c05ad4db.tar.xz
mdadm-69646c1483b7b728d77ae2c944d624f8c05ad4db.zip
Update tests and add linear-add
Update the testing scripts to allow for new space calculations for space for bitmaps. Add a test script for adding devices to linear arrays.
Diffstat (limited to 'test')
-rw-r--r--test8
1 files changed, 6 insertions, 2 deletions
diff --git a/test b/test
index a83b68e..3029b69 100644
--- a/test
+++ b/test
@@ -26,10 +26,14 @@ md0=/dev/md0 md1=/dev/md1 md2=/dev/md2
# dir for storing files should be settable by command line maybe
targetdir=/var/tmp
size=20000
+# super0, round down to multiple of 64 and substract 64
mdsize0=19904
+# super1.0 round down to multiple of 2, subtract 8
mdsize1=19992
-mdsize11=19996
-mdsize12=19992
+# subtract another 4 for bitmaps
+mdsize1b=19988
+mdsize11=19992
+mdsize12=19988
cleanup() {
$mdadm -Ss