File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
third_party/forked/shell2junit Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 20
20
# ## -ierror="RegExp" : same as -error but case insensitive
21
21
# ## -fail="RegExp" : Any line from stderr which contains this pattern becomes part of
22
22
# ## the failure messsage, without the text matching that pattern.
23
- # ## Example: -fail ="^ERROR: "
23
+ # ## Example: -failure ="^ERROR: "
24
24
# ## Default is to use the entire stderr as failure message.
25
25
# ## -output="Path" : path to output directory, defaults to "./results"
26
26
# ## - Junit reports are left in the folder 'result' under the directory where the script is executed.
@@ -129,7 +129,6 @@ function juLog() {
129
129
[[ -n " ${H} " ]] && err=1
130
130
fi
131
131
[[ ${err} -ne 0 ]] && echo " +++ error: ${err} " | tee -a ${outf}
132
- outMsg=$( cat ${outf} )
133
132
rm -f ${outf}
134
133
135
134
errMsg=$( cat ${errf} )
@@ -164,7 +163,6 @@ ${failureMsg}
164
163
<testcase assertions=\" 1\" name=\" ${name} \" time=\" ${time} \" classname=\" ${class} \" >
165
164
${failure}
166
165
<system-err><![CDATA[${errMsg} ]]></system-err>
167
- <system-out><![CDATA[${outMsg} ]]></system-out>
168
166
</testcase>
169
167
"
170
168
# # testsuite block
You can’t perform that action at this time.
0 commit comments