GNU bug report logs - #20631
'df/df-output ' test fails due to extra space in header line on large disk

Previous Next

Package: coreutils;

Reported by: Assaf Gordon <assafgordon <at> gmail.com>

Date: Fri, 22 May 2015 18:17:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20631 in the body.
You can then email your comments to 20631 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#20631; Package coreutils. (Fri, 22 May 2015 18:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Assaf Gordon <assafgordon <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Fri, 22 May 2015 18:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: bug-coreutils <at> gnu.org
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
[Message part 1 (text/plain, inline)]
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 (text/x-patch, attachment)]
[df-output-test-suite.log (text/x-log, attachment)]

Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Fri, 22 May 2015 19:48:02 GMT) Full text and rfc822 format available.

Notification sent to Assaf Gordon <assafgordon <at> gmail.com>:
bug acknowledged by developer. (Fri, 22 May 2015 19:48:03 GMT) Full text and rfc822 format available.

Message #10 received at 20631-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Assaf Gordon <assafgordon <at> gmail.com>, 20631-done <at> debbugs.gnu.org
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
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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 20 Jun 2015 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.