Do not call /bin/cat to get TAP output into parser (rt#41344)
commit1687f65f04f7591fab8c4f82d3d42d0922f5e0ce
authorLubomir Rintel (Good Data) <lubo.rintel@gooddata.com>
Fri, 2 Jan 2009 23:48:26 +0000 (3 00:48 +0100)
committerLubomir Rintel (Good Data) <lubo.rintel@gooddata.com>
Fri, 2 Jan 2009 23:48:26 +0000 (3 00:48 +0100)
tree8119b29b018c1cbaceaac66951cd45696a8a24a4
parent9e895ca7190c6108a86c421921c92471a606f011
Do not call /bin/cat to get TAP output into parser (rt#41344)

Bug report:

System Environment:
Cygwin in c:\cygwin
PATH contains c:\cygwin\bin, but NOT c:\cygwin

Execution of $jharness->runtests(@tests); leads to an xml file which
is not filled with test result data, and the following cmd line msg:
"The system cannot find the path specified."

Debugging shows that the reason for this is a hardcoded path in
JUnit.pm, line number 95. If I replace '/bin/cat' by 'cat', the bug is
fixed.
lib/TAP/Harness/JUnit.pm