2010-08-11 12:03:57 +05:30
|
|
|
mkdir du.testdir
|
|
|
|
cd du.testdir
|
2010-05-12 19:29:32 +05:30
|
|
|
dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
|
|
|
|
dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
|
2013-01-28 18:32:51 +05:30
|
|
|
# ext4 on images <512M gives 81kb
|
|
|
|
# ext3 on images <512M gives 83kb
|
2010-05-12 19:29:32 +05:30
|
|
|
test x"`busybox du -k .`" = x"80 ." \
|
2013-01-28 18:32:51 +05:30
|
|
|
-o x"`busybox du -k .`" = x"81 ." \
|
|
|
|
-o x"`busybox du -k .`" = x"83 ." \
|
2012-05-10 22:56:37 +05:30
|
|
|
-o x"`busybox du -k .`" = x"84 ." \
|
2010-08-11 12:03:57 +05:30
|
|
|
-o x"`busybox du -k .`" = x"88 ."
|