aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mkfs_ext2_test.sh
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-20 16:21:29 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-20 16:21:29 +0200
commitcbeb4528247cca8eb1aa6c5d7e43778ea6de1762 (patch)
treed24754751af23bf00c864c668cfe481cc1217c42 /util-linux/mkfs_ext2_test.sh
parent95484c870645ebda34c9202799f3b31111b90e4f (diff)
downloadbusybox-w32-cbeb4528247cca8eb1aa6c5d7e43778ea6de1762.tar.gz
busybox-w32-cbeb4528247cca8eb1aa6c5d7e43778ea6de1762.tar.bz2
busybox-w32-cbeb4528247cca8eb1aa6c5d7e43778ea6de1762.zip
mkfs_ext2: fix 60k image creation
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkfs_ext2_test.sh')
-rwxr-xr-xutil-linux/mkfs_ext2_test.sh16
1 files changed, 3 insertions, 13 deletions
diff --git a/util-linux/mkfs_ext2_test.sh b/util-linux/mkfs_ext2_test.sh
index 53f15d2c8..1199852fa 100755
--- a/util-linux/mkfs_ext2_test.sh
+++ b/util-linux/mkfs_ext2_test.sh
@@ -38,22 +38,12 @@ test_mke2fs() {
38 } 38 }
39} 39}
40 40
41# Should start from kilobytes=60, but e2fsck complains on it: 41# kilobytes=60 is the minimal allowed size
42# e2fsck 1.41.4 (27-Jan-2009) 42kilobytes=60
43# Pass 1: Checking inodes, blocks, and sizes
44# Pass 2: Checking directory structure
45# Pass 3: Checking directory connectivity
46# Pass 4: Checking reference counts
47# Pass 5: Checking group summary information
48# Inode bitmap differences: +(9--11)
49# Free inodes count wrong for group #0 (5, counted=8).
50# Directories count wrong for group #0 (2, counted=1).
51# Free inodes count wrong (5, counted=8).
52# image_bb: 11/16 files (0.0% non-contiguous), 9/60 blocks
53kilobytes=68
54while true; do 43while true; do
55 test_mke2fs #|| exit 1 44 test_mke2fs #|| exit 1
56 : $((kilobytes++)) 45 : $((kilobytes++))
46 test $kilobytes = 200 && break
57done 47done
58exit 48exit
59 49