mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-16 03:36:18 +00:00
Merge pull request #3347 from cakebaker/fix_total_use_percentage
df: fix calculation of Use% in "total" row
This commit is contained in:
commit
ef8921044b
2 changed files with 8 additions and 4 deletions
|
@ -140,7 +140,7 @@ fn test_total() {
|
|||
#[test]
|
||||
fn test_use_percentage() {
|
||||
let output = new_ucmd!()
|
||||
.args(&["--output=used,avail,pcent"])
|
||||
.args(&["--total", "--output=used,avail,pcent"])
|
||||
.succeeds()
|
||||
.stdout_move_str();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue