mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
Merge pull request #249 from flatcar-linux/t-lo/ci-automation-tapfile-ascii
ci-automation/tapfile_helper_lib.sh: only ASCII chars
This commit is contained in:
commit
194c503b56
@ -122,10 +122,12 @@ function tap_ingest_tapfile() {
|
||||
in_error_message=false
|
||||
has_error_message="true"
|
||||
else
|
||||
# remove special characters and unicode. Jenkins TAP parser don't unicode.
|
||||
echo -e "$line" \
|
||||
| sed -e 's/^Error: "--- FAIL: /"/' -e 's/^[[:space:]]*//' \
|
||||
| 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' \
|
||||
>> "${error_message_file}"
|
||||
continue
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user