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

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

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

File size: 466 bytes
RevLine 
[2725]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
[3621]5# ext4 on images <512M gives 81kb
6# ext3 on images <512M gives 83kb
7# a bsd system reportedly gives 82kb
[2725]8test x"`busybox du -k .`" = x"80 ." \
[3621]9 -o x"`busybox du -k .`" = x"81 ." \
10 -o x"`busybox du -k .`" = x"82 ." \
11 -o x"`busybox du -k .`" = x"83 ." \
[3232]12 -o x"`busybox du -k .`" = x"84 ." \
[2725]13 -o x"`busybox du -k .`" = x"88 ."
Note: See TracBrowser for help on using the repository browser.