1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

du: Fix incorrect block size assumption.

du and other tools like stat assume a 512 byte block. ls is the only
tool to use 1024.

Add Simple set of tests
This commit is contained in:
bootandy 2018-03-20 12:10:05 -04:00
parent fa867e93ea
commit e253406026
7 changed files with 84 additions and 4 deletions

BIN
tests/fixtures/du/subdir/subwords.txt vendored Normal file

Binary file not shown.

View file

@ -0,0 +1 @@
hello

1
tests/fixtures/du/words.txt vendored Normal file
View file

@ -0,0 +1 @@
hello