Debian Codegraph @

test/functional/cases/411_logging/000_console/000_systemd_logger.robot

raw
1 *** Settings ***
2 Suite Setup Rspamd Setup
3 Suite Teardown Systemd Teardown
4 Library ${RSPAMD_TESTDIR}/lib/rspamd.py
5 Resource ${RSPAMD_TESTDIR}/lib/rspamd.robot
6 Variables ${RSPAMD_TESTDIR}/lib/vars.py
7
8 *** Variables ***
9 ${CONFIG} ${RSPAMD_TESTDIR}/configs/loggingtest.conf
10 ${RSPAMD_LOGGINGTYPE} console
11 ${RSPAMD_JSON} false
12 ${RSPAMD_SYSTEMD} true
13 ${RSPAMD_SCOPE} Suite
14
15 *** Test Cases ***
16 EMPTY TEST
17 Pass Execution No worries
18
19 *** Keywords ***
20 Systemd Teardown
21 Touch ${RSPAMD_TMPDIR}/rspamd.log
22 Rspamd Teardown
23 ${log} = Get File ${EXECDIR}/robot-save/rspamd.stderr.last
24 Should Match Regexp ${log} \\n\\(main\\) lua; lua_cfg_transform\\.lua:\\d+: overriding actions from the legacy metric settings\\n