https://issues.apache.org/bugzilla/show_bug.cgi?id=48789

--- Comment #4 from Matt Benson <[email protected]> 2010-02-24 22:06:38 UTC ---
(In reply to comment #3)
> I am still debugging this testRedirector13 on ubuntu and it fails pretty
> consistently in fact.
> 
> The test uses "parrot.sh"
> 
> for arg in "$@" ; do
>     echo $arg out
>     sleep 1
>     echo $arg err>&2
> done
> 
> what happens it seems is that our java code does not wait for the script to be
> finished and the error stream generates a "Pipe broken" message in
> LeadPipeInputStream.java
> 
> testRedirector13 compares then these 2 strings :
> 
> the real log
>     [junit]
> /home/antoine/devel/ant-core/src/etc/testcases/taskdefs/exec/exec.xml
> OUTPUT???Pipe broken
> 
> what should be received
>     [junit]
> /home/antoine/devel/ant-core/src/etc/testcases/taskdefs/exec/exec.xml
> OUTPUT???/home/antoine/devel/ant-core/src/etc/testcases/taskdefs/exec/exec.xml
> ERROR!!!
> 
> Not sure how to fix this problem.

Did you get access to an ASF Ubuntu box, Antoine?  This code being originally
mine, the years of guilt over these failing tests are becoming too much for me.
 :/

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to