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.

Full log


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)]

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.