3
0

du-l-works 396 B

123456789101112
  1. # FEATURE: CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
  2. mkdir du.testdir
  3. cd du.testdir
  4. dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
  5. ln file1 file1.1
  6. dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
  7. test x"`busybox du -l .`" = x"144 ." \
  8. -o x"`busybox du -l .`" = x"146 ." \
  9. -o x"`busybox du -l .`" = x"148 ." \
  10. -o x"`busybox du -l .`" = x"152 ." \
  11. -o x"`busybox du -l .`" = x"156 ."