Dan Fandrich | 775965d | 2010-08-10 23:33:57 -0700 | [diff] [blame] | 1 | mkdir du.testdir |
| 2 | cd du.testdir |
Denys Vlasenko | e82cf33 | 2010-05-12 15:59:32 +0200 | [diff] [blame] | 3 | dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null |
| 4 | dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null |
Kang Kai | 03b6147 | 2013-01-28 14:02:51 +0100 | [diff] [blame] | 5 | # ext4 on images <512M gives 81kb |
| 6 | # ext3 on images <512M gives 83kb |
Denys Vlasenko | e85e260 | 2013-12-20 02:55:16 +0100 | [diff] [blame] | 7 | # a bsd system reportedly gives 82kb |
Denys Vlasenko | e82cf33 | 2010-05-12 15:59:32 +0200 | [diff] [blame] | 8 | test x"`busybox du -k .`" = x"80 ." \ |
Kang Kai | 03b6147 | 2013-01-28 14:02:51 +0100 | [diff] [blame] | 9 | -o x"`busybox du -k .`" = x"81 ." \ |
Denys Vlasenko | e85e260 | 2013-12-20 02:55:16 +0100 | [diff] [blame] | 10 | -o x"`busybox du -k .`" = x"82 ." \ |
Kang Kai | 03b6147 | 2013-01-28 14:02:51 +0100 | [diff] [blame] | 11 | -o x"`busybox du -k .`" = x"83 ." \ |
Denys Vlasenko | a5ee090 | 2012-05-10 19:26:37 +0200 | [diff] [blame] | 12 | -o x"`busybox du -k .`" = x"84 ." \ |
Dan Fandrich | 775965d | 2010-08-10 23:33:57 -0700 | [diff] [blame] | 13 | -o x"`busybox du -k .`" = x"88 ." |