From: Andrew Lewis Date: Tue, 26 Sep 2023 10:24:00 +0000 (+0200) Subject: [Test] Ignore encoding errors X-Git-Tag: 3.7.1~13^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F4616%2Fhead;p=rspamd.git [Test] Ignore encoding errors --- 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}