i've a problem running the unit tests on windows. surefire output see below.
i assume there is a problem with line endings, can you fix the test that it is 
agnostic of unix/windows line endings?

stefan

-------------------------------------------------------------------------------
Test set: org.apache.sling.pipes.internal.CommandExecutorImplTest
-------------------------------------------------------------------------------
Tests run: 17, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 4.657 s <<< 
FAILURE! - in org.apache.sling.pipes.internal.CommandExecutorImplTest
org.apache.sling.pipes.internal.CommandExecutorImplTest.testFileCommandServlet  
Time elapsed: 0.39 s  <<< FAILURE!
org.junit.ComparisonFailure: 
expected:<...:content"],"size":5}[]
> but was:<...:content"],"size":5}[
]
>
        at 
org.apache.sling.pipes.internal.CommandExecutorImplTest.testFileCommandServlet(CommandExecutorImplTest.java:236)

org.apache.sling.pipes.internal.CommandExecutorImplTest.testSimpleCommandServlet
  Time elapsed: 0.265 s  <<< FAILURE!
org.junit.ComparisonFailure: 
expected:<...tent/foo"],"size":1}[]
> but was:<...tent/foo"],"size":1}[
]
>
        at 
org.apache.sling.pipes.internal.CommandExecutorImplTest.testSimpleCommandServlet(CommandExecutorImplTest.java:200)

org.apache.sling.pipes.internal.CommandExecutorImplTest.testChainedCommand  
Time elapsed: 0.263 s  <<< FAILURE!
org.junit.ComparisonFailure: 
expected:<...a/carrot"],"size":5}[]
> but was:<...a/carrot"],"size":5}[
]
>
        at 
org.apache.sling.pipes.internal.CommandExecutorImplTest.testChainedCommand(CommandExecutorImplTest.java:225)




>-----Original Message-----
>From: Nicolas Peltier <npelt...@apache.org>
>Sent: Thursday, January 14, 2021 10:47 PM
>To: Sling Developers List <dev@sling.apache.org>
>Subject: [VOTE] Release Apache Sling Pipes 4.1.0
>
>Hi,
>
>We solved 7 issues in this release:
>https://issues.apache.org/jira/projects/SLING/versions/12349395
>
>Staging repository:
>https://repository.apache.org/content/repositories/orgapachesling-2398/
>
>You can use this UNIX script to download the release and verify the
>signatures:
>https://gitbox.apache.org/repos/asf?p=sling-tooling-
>release.git;a=blob;f=check_staged_release.sh;hb=HEAD
>
>Usage:
>sh check_staged_release.sh 2398 /tmp/sling-staging
>
>Please vote to approve this release:
>
>  [ ] +1 Approve the release
>  [ ]  0 Don't care
>  [ ] -1 Don't release, because ...
>
>This majority vote is open for at least 72 hours.
>
>Regards,

Reply via email to