Denys Vlasenko | bfa1b2e | 2010-05-11 03:53:57 +0200 | [diff] [blame] | 1 | # FEATURE: CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K |
| 2 | |
Dan Fandrich | 775965d | 2010-08-10 23:33:57 -0700 | [diff] [blame] | 3 | mkdir du.testdir |
| 4 | cd du.testdir |
Denys Vlasenko | e82cf33 | 2010-05-12 15:59:32 +0200 | [diff] [blame] | 5 | dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null |
| 6 | ln file1 file1.1 |
| 7 | dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null |
| 8 | test x"`busybox du -l .`" = x"144 ." \ |
Denys Vlasenko | e85e260 | 2013-12-20 02:55:16 +0100 | [diff] [blame] | 9 | -o x"`busybox du -l .`" = x"146 ." \ |
Denys Vlasenko | e82cf33 | 2010-05-12 15:59:32 +0200 | [diff] [blame] | 10 | -o x"`busybox du -l .`" = x"148 ." \ |
| 11 | -o x"`busybox du -l .`" = x"152 ." \ |
Dan Fandrich | 775965d | 2010-08-10 23:33:57 -0700 | [diff] [blame] | 12 | -o x"`busybox du -l .`" = x"156 ." |