1
Fork 0
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:
Sylvestre Ledru 2022-04-02 09:53:08 +02:00 committed by GitHub
commit ef8921044b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -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();