[PATCH] du-k-works: update test case

Denys Vlasenko vda.linux at googlemail.com
Mon Jan 28 13:03:25 UTC 2013


On Mon, Jan 28, 2013 at 6:27 AM, Kang Kai <kai.kang at windriver.com> wrote:
> For ext3/4 image whose size less than 512M, this case fails.
>
> When format a ext3/4 image without specifing the size of blocks -b,
> mke2fs will determine block-size heuristically by the filesystem size
> and the expected usage of the filesystem. If the image size less than
> 512M and no usage of the filesystem specified, the block size is set to
> 1024, so the output of 'du -k du.testdir':
> on ext4:
> 81      du.testdir/
> on ext3:
> 83      du.testdir/
> These are the same results with output of du from coreutils.
>
> Update test case to handle these situations.

Applied, thanks!


More information about the busybox mailing list