]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
patchtest-send-results: check max line length, simplify responses
authorTrevor Gamblin <tgamblin@baylibre.com>
Wed, 25 Oct 2023 14:47:39 +0000 (10:47 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Oct 2023 14:52:11 +0000 (15:52 +0100)
commitb0d53cf587dc9afb97f00c1089e45b758e96dd7c
tree46363ab5b9e1483360b42100c06a1e7518b9341d
parent2e923a5a67e51463dcf938079c4a199873ccba85
patchtest-send-results: check max line length, simplify responses

Check that the maximum line length of the testresult file is less than
220 characters, to help guard against malicious changes being sent in
email responses. If any line exceeds this length, replace the normal
testresults used in the response with a line stating that tests failed,
but the results could not be processed. Also clean up the respone
substrings slightly to go along with the change.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/patchtest-send-results