[ 
https://issues.apache.org/jira/browse/FLUME-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280062#comment-13280062
 ] 

Alexander Lorenz-Alten commented on FLUME-1174:
-----------------------------------------------

I added a check if we're on Windows or not, since "type" is the equivalent to 
"cat". A test on a maven enabled Windows would be highly appreciated, after the 
test passed I'll submit the patch for review. Thanks a lot!
                
> Attempt to build Flume v1.1.0 on Windows 7 x64 fails
> ----------------------------------------------------
>
>                 Key: FLUME-1174
>                 URL: https://issues.apache.org/jira/browse/FLUME-1174
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.1.0
>         Environment: Windows 7 - 64 Bit - jdk1.7u4 - mvn 3.0.4
>            Reporter: Jeff Lord
>            Assignee: Alexander Lorenz-Alten
>
> It looks as if the src is expecting to be built on Linux.
> Attempting to build on Windows 7 fails with the below error that references a 
> missing /etc/passwd file.
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
> Running org.apache.flume.TestCounterGroup
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
> Results :
> Failed tests:   testRestart(org.apache.flume.source.TestExecSource)
> Tests in error:
>   test(org.apache.flume.serialization.TestBodyTextEventSerializer): Unable to 
> de
> lete file: src\test\resources\events.txt
>   testProcess(org.apache.flume.source.TestExecSource): \etc\passwd (The 
> system c
> annot find the path specified)
> Tests run: 114, Failures: 1, Errors: 2, Skipped: 2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to