ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48789] Pipe broken
Date Tue, 23 Feb 2010 23:57:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48789

--- Comment #3 from Antoine Levy-Lambert <antoine@apache.org> 2010-02-23 23:57:53 UTC
---
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.

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

Mime
View raw message