[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20631: 'df/df-output ' test fails due to extra space in header line
From: |
Assaf Gordon |
Subject: |
bug#20631: 'df/df-output ' test fails due to extra space in header line on large disk |
Date: |
Fri, 22 May 2015 14:15:46 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Hello,
Using the latest coreutils from git, 'tests/df/df-output' fails due to one
extra space in the header line, needed to accommodate a large disk.
Log attached, but the problem is likely this:
# This is a large disk...
$ ./src/df -hl .
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 33T 2.0T 31T 6% /data2
# The test command results in two spaces before the header
$ ./src/df -B1K --output=size .
1K-blocks
35139364864
possible fix attached.
-assaf
df-output-extra-space.patch
Description: Text Data
df-output-test-suite.log
Description: Text Data
- bug#20631: 'df/df-output ' test fails due to extra space in header line on large disk,
Assaf Gordon <=