source: MondoRescue/branches/3.3/mindi-busybox/testsuite/du/du-l-works@ 3621

Last change on this file since 3621 was 3621, checked in by Bruno Cornec, 10 years ago

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

File size: 396 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"146 ." \
10 -o x"`busybox du -l .`" = x"148 ." \
11 -o x"`busybox du -l .`" = x"152 ." \
12 -o x"`busybox du -l .`" = x"156 ."
Note: See TracBrowser for help on using the repository browser.