summaryrefslogtreecommitdiff
path: root/tests/05r1-internalbitmap-v1a
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 /tests/05r1-internalbitmap-v1a
parentf752781f81a68588d0225cf8e3d96eeb6867b245 (diff)
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 'tests/05r1-internalbitmap-v1a')
-rw-r--r--tests/05r1-internalbitmap-v1a6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/05r1-internalbitmap-v1a b/tests/05r1-internalbitmap-v1a
index 326fe72d..2ef5ebae 100644
--- a/tests/05r1-internalbitmap-v1a
+++ b/tests/05r1-internalbitmap-v1a
@@ -5,11 +5,11 @@
mdadm --create --run $md0 --metadata=1.0 --level=1 -n2 --delay=1 --bitmap internal $dev1 $dev2
check wait
check bitmap
-testdev $md0 1 $mdsize1 1
+testdev $md0 1 $mdsize1b 1
mdadm -S $md0
mdadm --assemble $md0 $dev1 $dev2
-testdev $md0 1 $mdsize1 1
+testdev $md0 1 $mdsize1b 1
dirty1=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
sleep 4
dirty2=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
@@ -19,7 +19,7 @@ then echo >&2 "ERROR bad 'dirty' counts: $dirty1 and $dirty2"
exit 1
fi
mdadm $md0 -f $dev1
-testdev $md0 1 $mdsize1 1
+testdev $md0 1 $mdsize1b 1
sleep 4
dirty3=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
if [ $dirty3 -lt 400 ]