Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
90d99b34
Commit
90d99b34
authored
Mar 28, 2018
by
Ryan Hitchman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spurious whitespace in messages from sh2ju.
<failure> <![CDATA[ ... ]]> </failure> creates a <failure> tag with text == "\n\n...\n". It needs to be on one line.
parent
137268d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
sh2ju.sh
third_party/forked/shell2junit/sh2ju.sh
+2
-10
No files found.
third_party/forked/shell2junit/sh2ju.sh
View file @
90d99b34
...
@@ -136,21 +136,13 @@ function juLog() {
...
@@ -136,21 +136,13 @@ function juLog() {
# write the junit xml report
# write the junit xml report
## failure tag
## failure tag
[[
${
err
}
=
0
]]
&&
failure
=
""
||
failure
=
"
[[
${
err
}
=
0
]]
&&
failure
=
""
||
failure
=
"
<failure type=
\"
ScriptError
\"
message=
\"
Script Error
\"
>
<failure type=
\"
ScriptError
\"
message=
\"
Script Error
\"
><![CDATA[
${
errMsg
}
]]></failure>
<![CDATA[
${
errMsg
}
]]>
</failure>
"
"
## testcase tag
## testcase tag
content
=
"
${
content
}
content
=
"
${
content
}
<testcase assertions=
\"
1
\"
name=
\"
${
name
}
\"
time=
\"
${
time
}
\"
classname=
\"
${
class
}
\"
>
<testcase assertions=
\"
1
\"
name=
\"
${
name
}
\"
time=
\"
${
time
}
\"
classname=
\"
${
class
}
\"
>
${
failure
}
${
failure
}
<system-err>
<system-err><![CDATA[
${
errMsg
}
]]></system-err>
<![CDATA[
${
errMsg
}
]]>
</system-err>
</testcase>
</testcase>
"
"
## testsuite block
## testsuite block
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment