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

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

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

File size: 466 bytes
Line 
1mkdir du.testdir
2cd du.testdir
3dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
4dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
5# ext4 on images <512M gives 81kb
6# ext3 on images <512M gives 83kb
7# a bsd system reportedly gives 82kb
8test x"`busybox du -k .`" = x"80 ." \
9 -o x"`busybox du -k .`" = x"81 ." \
10 -o x"`busybox du -k .`" = x"82 ." \
11 -o x"`busybox du -k .`" = x"83 ." \
12 -o x"`busybox du -k .`" = x"84 ." \
13 -o x"`busybox du -k .`" = x"88 ."
Note: See TracBrowser for help on using the repository browser.