3
0

du-l-works 357 B

1234567891011
  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"148 ." \
  9. -o x"`busybox du -l .`" = x"152 ." \
  10. -o x"`busybox du -l .`" = x"156 ."