aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-08 11:49:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-08 11:49:42 +0100
commitc6b5d38af657ef885fd8f5215d1bf116ff06eca2 (patch)
tree52ed3d54577099bb39729e1a34acc6cd7990e411 /test/functional
parentd31a116278f7e45ed07deba98cfe11c34441233e (diff)
downloadrspamd-c6b5d38af657ef885fd8f5215d1bf116ff06eca2.tar.gz
rspamd-c6b5d38af657ef885fd8f5215d1bf116ff06eca2.zip
[Test] Log stderr in robot
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/lib/rspamd.robot7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/lib/rspamd.robot b/test/functional/lib/rspamd.robot
index 725ab6e5f..d3a230f56 100644
--- a/test/functional/lib/rspamd.robot
+++ b/test/functional/lib/rspamd.robot
@@ -243,9 +243,10 @@ Run Rspamd
... stdout=${RSPAMD_TMPDIR}/rspamd.stdout stderr=${RSPAMD_TMPDIR}/rspamd.stderr
# Log stdout/stderr
- ${rspamd_output} = Run Keyword If ${result.rc} == 0 Get File ${RSPAMD_TMPDIR}/rspamd.stdout
- ... ELSE Get File ${RSPAMD_TMPDIR}/rspamd.stderr
- Log ${rspamd_output}
+ ${rspamd_stdout} = Get File ${RSPAMD_TMPDIR}/rspamd.stdout
+ ${rspamd_stderror} = Get File ${RSPAMD_TMPDIR}/rspamd.stderr
+ Log ${rspamd_stdout}
+ Log ${rspamd_stderror}
# Abort if it failed
Should Be Equal As Integers ${result.rc} 0