You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2017/06/03 17:27:42 UTC

[io] Failure of org.apache.commons.io.FileUtilsTestCase.testContentEqualsIgnoreEOL()

Hi All,

This test
fails: org.apache.commons.io.FileUtilsTestCase.testContentEqualsIgnoreEOL()

With:

java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertFalse(Assert.java:64)
at org.junit.Assert.assertFalse(Assert.java:74)
at
org.apache.commons.io.FileUtilsTestCase.testContentEqualsIgnoreEOL(FileUtilsTestCase.java:681)

I am guessing that since this deals with EOLs there might be something
Linux specific about it.

I ran with:

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T12:39:06-07:00) Maven home: C:\Java\apache-maven-3.5.0\bin\..
Java version: 1.7.0_80, vendor: Oracle Corporation Java home: C:\Program
Files\Java\jdk1.7.0_80\jre Default locale: en_US, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"

Gary

Re: [io] Failure of org.apache.commons.io.FileUtilsTestCase.testContentEqualsIgnoreEOL()

Posted by sebb <se...@gmail.com>.
I changed Jenkins IO build to use Windows and it built OK (though the
deploy phase failed).

Needs a bit more investigation...

On 3 June 2017 at 18:27, Gary Gregory <ga...@gmail.com> wrote:
> Hi All,
>
> This test
> fails: org.apache.commons.io.FileUtilsTestCase.testContentEqualsIgnoreEOL()
>
> With:
>
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertFalse(Assert.java:64)
> at org.junit.Assert.assertFalse(Assert.java:74)
> at
> org.apache.commons.io.FileUtilsTestCase.testContentEqualsIgnoreEOL(FileUtilsTestCase.java:681)
>
> I am guessing that since this deals with EOLs there might be something
> Linux specific about it.
>
> I ran with:
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T12:39:06-07:00) Maven home: C:\Java\apache-maven-3.5.0\bin\..
> Java version: 1.7.0_80, vendor: Oracle Corporation Java home: C:\Program
> Files\Java\jdk1.7.0_80\jre Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"
>
> Gary

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org