source: MondoRescue/branches/2.2.9/mindi-busybox/testsuite/du/du-l-works@ 3320

Last change on this file since 3320 was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
File size: 357 bytes
Line 
1# FEATURE: CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
2
3mkdir du.testdir
4cd du.testdir
5dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
6ln file1 file1.1
7dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
8test x"`busybox du -l .`" = x"144 ." \
9 -o x"`busybox du -l .`" = x"148 ." \
10 -o x"`busybox du -l .`" = x"152 ." \
11 -o x"`busybox du -l .`" = x"156 ."
Note: See TracBrowser for help on using the repository browser.