mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 16:31:24 +00:00
03b614739b
Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
12 lines
391 B
Plaintext
12 lines
391 B
Plaintext
mkdir du.testdir
|
|
cd du.testdir
|
|
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
|
|
# ext4 on images <512M gives 81kb
|
|
# ext3 on images <512M gives 83kb
|
|
test x"`busybox du -k .`" = x"80 ." \
|
|
-o x"`busybox du -k .`" = x"81 ." \
|
|
-o x"`busybox du -k .`" = x"83 ." \
|
|
-o x"`busybox du -k .`" = x"84 ." \
|
|
-o x"`busybox du -k .`" = x"88 ."
|