mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 22:12:10 +01:00
ci-automation/tapfile_helper_lib.sh: remove non-printable ASCII
Jenkins TAP file parser does not process non-printable ASCII characters
but bails out. This change removes all ASCII < 0x1F, so non-printable
characters are not included in the TAP report.
Fixes
Caused by: unacceptable character '' (0x1B) special characters are not allowed
This commit is contained in:
parent
24a74477a8
commit
a9700e16fb
@ -127,7 +127,7 @@ function tap_ingest_tapfile() {
|
||||
| LC_ALL=C sed -e 's/^Error: "--- FAIL: /"/' -e 's/^[[:space:]]*//' \
|
||||
-e "s/[>\\\"']/_/g" -e 's/[[:space:]]/ /g' \
|
||||
-e 's/.\{200\}/&\n/g' \
|
||||
-e 's/[^\x00-\x7F]/?/g' \
|
||||
-e 's/[^\x1F-\x7F]/?/g' \
|
||||
>> "${error_message_file}"
|
||||
continue
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user