bug-coreutils
[Top][All Lists]
Advanced

[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


Attachment: df-output-extra-space.patch
Description: Text Data

Attachment: df-output-test-suite.log
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]