File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 235235 # Write content
236236 if [[ " $failure " == 0 ]]; then
237237 # No error, just write a message to the output file.
238- echo " <system-out>hack/e2e.sh script succeeded</system-out>" >> ${output_file}
238+ echo " <system-out>hack/e2e.sh script succeeded</system-out>" >> " ${output_file} "
239239 else
240240 failure_data_file=" ${3} "
241241 cat >> " $output_file " << EOF
244244EOF
245245 # Erorr case, write the content of the failure data file to the output file.
246246 # Note: the sed ensures that the content does not close the CDATA section.
247- cat " ${failure_data_file} " | sed ' s/]]>/]]>]]><![CDATA[/g' >> " $output_file "
247+ sed ' s/]]>/]]>]]><![CDATA[/g' " ${failure_data_file} " >> " $output_file "
248+
248249 cat >> " $output_file " << EOF
249250 ]]>
250251 </failure>
You can’t perform that action at this time.
0 commit comments