]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - test
imsm: FIX: core dump during imsm metadata writing
[thirdparty/mdadm.git] / test
diff --git a/test b/test
index d0456f1043dfa7cf985032058e8e15afbcae6b05..d1b458263e1757dbb62ff85846f9dc6996143865 100644 (file)
--- a/test
+++ b/test
@@ -34,11 +34,15 @@ mdsize0=19904
 mdsize00=19840
 # super1.0 round down to multiple of 2, subtract 8
 mdsize1=19992
-# super1.1 for linear: round to multiple of 2, subtract 4
-mdsize1_l=19996
+mdsize1a=19988
+mdsize12=19988
+# super1.2 for linear: round to multiple of 2, subtract 4
+mdsize1_l=18976
+mdsize2_l=18976
 # subtract another 4 for bitmaps
 mdsize1b=19988
 mdsize11=19992
+mdsize11a=18944
 mdsize12=19988
 
 # ddf needs bigger devices as 32Meg is reserved!
@@ -49,7 +53,8 @@ cleanup() {
        $mdadm -Ssq
        for d in 0 1 2 3 4 5 6 7  8 9 10 11 12
        do
-           losetup -d /dev/loop$d ; # rm -f $targetdir/mdtest$d
+           losetup -d /dev/loop$d ; # rm -f $targetdir/mdtest$d
+           rm -f /dev/disk/by-path/loop*
         done
 }