[LTP] [PATCH] df01.sh: Fix failure when block size < 1024

Petr Vorel pvorel@suse.cz
Tue Jan 5 12:30:43 CET 2021


Hi Radoslav,

> If block size is < 1024 shell integer division will always round down.
> Add 512 (1024/2) to the left side, to cause round up for values >= .5.

Correct, merged.
Thanks!

Kind regards,
Petr


More information about the ltp mailing list