--- Begin Message ---
Subject: |
'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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#20631: 'df/df-output ' test fails due to extra space in header line on large disk |
Date: |
Fri, 22 May 2015 20:47:10 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 22/05/15 19:15, Assaf Gordon wrote:
> 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
Pushed.
thanks!
Pádraig
--- End Message ---