summaryrefslogtreecommitdiff
path: root/Documentation/git-tools.txt
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2020-03-23 12:44:35 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-03-23 10:22:51 -0700
commitd3507cc71286c669674d8e184a3796de6af0cea7 (patch)
tree77df868c25de5753917103f1e185bc81e44a756b /Documentation/git-tools.txt
parentGit 2.26 (diff)
downloadtgif-d3507cc71286c669674d8e184a3796de6af0cea7.tar.xz
tests(junit-xml): avoid invalid XML
When a test case is run in a subshell, we finalize the JUnit-style XML when said subshell exits. But then we continue to write into that XML as if nothing had happened. This leads to Azure Pipelines' Publish Test Results task complaining: Failed to read /home/vsts/work/1/s/t/out/TEST-t0000-basic.xml. Error : Unexpected end tag. Line 110, position 5. And indeed, the resulting XML is incorrect. Let's "re-open" the XML in such a case, i.e. remove the previously added closing tags. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-tools.txt')
0 files changed, 0 insertions, 0 deletions