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:
parent
fa867e93ea
commit
e253406026
7 changed files with 84 additions and 4 deletions
BIN
tests/fixtures/du/subdir/subwords.txt
vendored
Normal file
BIN
tests/fixtures/du/subdir/subwords.txt
vendored
Normal file
Binary file not shown.
1
tests/fixtures/du/subdir/subwords2.txt
vendored
Normal file
1
tests/fixtures/du/subdir/subwords2.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
hello
|
1
tests/fixtures/du/words.txt
vendored
Normal file
1
tests/fixtures/du/words.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
hello
|
Loading…
Add table
Add a link
Reference in a new issue