2010-05-11 03:53:57 +02:00
|
|
|
# FEATURE: CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
|
|
|
|
|
2010-08-10 23:33:57 -07:00
|
|
|
mkdir du.testdir
|
|
|
|
cd du.testdir
|
2010-05-12 15:59:32 +02:00
|
|
|
dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
|
|
|
|
ln file1 file1.1
|
|
|
|
dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
|
|
|
|
test x"`busybox du -l .`" = x"144 ." \
|
2013-12-20 02:55:16 +01:00
|
|
|
-o x"`busybox du -l .`" = x"146 ." \
|
2010-05-12 15:59:32 +02:00
|
|
|
-o x"`busybox du -l .`" = x"148 ." \
|
|
|
|
-o x"`busybox du -l .`" = x"152 ." \
|
2010-08-10 23:33:57 -07:00
|
|
|
-o x"`busybox du -l .`" = x"156 ."
|