aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2023-09-26 12:24:00 +0200
committerAndrew Lewis <nerf@judo.za.org>2023-09-26 12:24:00 +0200
commitb012170c98b1d0a994b43f50fc62552b0add6211 (patch)
treec1fb91bf645d635ca5df73ff95042c2e0c558c07
parent394298b74f793bca2add0652d2ec541816d8a993 (diff)
downloadrspamd-b012170c98b1d0a994b43f50fc62552b0add6211.tar.gz
rspamd-b012170c98b1d0a994b43f50fc62552b0add6211.zip
[Test] Ignore encoding errors
-rw-r--r--test/functional/lib/rspamd.robot8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/lib/rspamd.robot b/test/functional/lib/rspamd.robot
index 9471d84f9..7d95287cf 100644
--- a/test/functional/lib/rspamd.robot
+++ b/test/functional/lib/rspamd.robot
@@ -240,8 +240,8 @@ Run Rspamd
... env:ASAN_OPTIONS=quarantine_size_mb=2048:malloc_context_size=20:fast_unwind_on_malloc=0:log_path=${RSPAMD_TMPDIR}/rspamd-asan
# We need to send output to files (or discard output) to avoid hanging Robot
... stdout=${RSPAMD_TMPDIR}/configdump.stdout stderr=${RSPAMD_TMPDIR}/configdump.stderr
- ${configdump} = Run Keyword If ${result.rc} == 0 Get File ${RSPAMD_TMPDIR}/configdump.stdout
- ... ELSE Get File ${RSPAMD_TMPDIR}/configdump.stderr
+ ${configdump} = Run Keyword If ${result.rc} == 0 Get File ${RSPAMD_TMPDIR}/configdump.stdout encoding_errors=ignore
+ ... ELSE Get File ${RSPAMD_TMPDIR}/configdump.stderr encoding_errors=ignore
Log ${configdump}
# Fix directory ownership (maybe do this somewhere else)
@@ -263,8 +263,8 @@ Run Rspamd
... stdout=${RSPAMD_TMPDIR}/rspamd.stdout stderr=${RSPAMD_TMPDIR}/rspamd.stderr
# Log stdout/stderr
- ${rspamd_stdout} = Get File ${RSPAMD_TMPDIR}/rspamd.stdout
- ${rspamd_stderror} = Get File ${RSPAMD_TMPDIR}/rspamd.stderr
+ ${rspamd_stdout} = Get File ${RSPAMD_TMPDIR}/rspamd.stdout encoding_errors=ignore
+ ${rspamd_stderror} = Get File ${RSPAMD_TMPDIR}/rspamd.stderr encoding_errors=ignore
Log ${rspamd_stdout}
Log ${rspamd_stderror}