diff options
author | Theodore Ts'o <tytso@mit.edu> | 2022-07-20 12:43:53 -0400 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2022-07-24 22:33:09 +0800 |
commit | 33ac1a74fb63926f8dd304d9328125f24dbc1cf2 (patch) | |
tree | e5afd75248331bf4c43f6673e63b508597848973 /check | |
parent | d628ffcb3278d0284380cbf2decc00dfd61738a1 (diff) |
report: add support for the xunit-quiet formatv2022.07.24
The xunit-quiet format excludes the NNN.{full,dmesg,bad} files in
<system-out> and <system-err> nodes which are included in the xunit
report format.
For test runners that save the entire results directory to preserve
all of the test artifacts, capturing the NNN.{full,dmesg,bad} in the
results.xml file is redundant. In addition, if the NNN.bad is too
large, it can cause the junitparser python library to refuse to parse
the XML file to prevent potential denial of service attacks[1]. A
simple way to avoid this problem is to simply to omit the <system-out>
and <system-err> nodes in the results.xml file.
[1] https://gitlab.com/gitlab-org/gitlab/-/issues/268035
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to 'check')
-rwxr-xr-x | check | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ check options -I <n> iterate the test list <n> times, but stops iterating further in case of any test failure -d dump test output to stdout -b brief test summary - -R fmt[,fmt] generate report in formats specified. Supported format: [xunit] + -R fmt[,fmt] generate report in formats specified. Supported formats: xunit, xunit-quiet --large-fs optimise scratch device for large filesystems -s section run only specified section from config file -S section exclude the specified section from the config file |