You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2012/10/19 20:13:11 UTC

[jira] [Created] (HADOOP-8948) TestFileUtil.testGetDU fails on Windows due to incorrect assumption of line separator

Chris Nauroth created HADOOP-8948:
-------------------------------------

             Summary: TestFileUtil.testGetDU fails on Windows due to incorrect assumption of line separator
                 Key: HADOOP-8948
                 URL: https://issues.apache.org/jira/browse/HADOOP-8948
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
    Affects Versions: 3.0.0, trunk-win
            Reporter: Chris Nauroth
            Assignee: Chris Nauroth


The test asserts 8 bytes of disk usage, based on 2 files, each containing a single line of 3 characters followed by line terminator.  This is fine for Unix line endings (1 additional byte) but incorrect for Windows line endings (2 additional bytes).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira