diff options
author | Neil Brown <neilb@suse.de> | 2007-05-21 14:25:40 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-05-21 14:25:40 +1000 |
commit | 69646c1483b7b728d77ae2c944d624f8c05ad4db (patch) | |
tree | 46d30b3256dc879e2d626391604e2a4eb9e3df6c /tests/05r1-grow-internal-1 | |
parent | f752781f81a68588d0225cf8e3d96eeb6867b245 (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-grow-internal-1')
-rw-r--r-- | tests/05r1-grow-internal-1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/05r1-grow-internal-1 b/tests/05r1-grow-internal-1 index ec8e5fc0..18c5c8b1 100644 --- a/tests/05r1-grow-internal-1 +++ b/tests/05r1-grow-internal-1 @@ -4,7 +4,7 @@ # mdadm --create --run $md0 -e1 -l 1 -n 2 $dev1 $dev2 check wait -testdev $md0 1 $mdsize1 1 +testdev $md0 1 $mdsize1b 1 #mdadm -E $dev1 mdadm --grow $md0 --bitmap=internal --delay=1 @@ -12,7 +12,7 @@ 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'` -testdev $md0 1 $mdsize1 1 +testdev $md0 1 $mdsize1b 1 dirty3=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'` sleep 4 dirty4=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'` |