Debian Codegraph @

test/functional/cases/411_logging/000_console/001_timestamps.robot

raw
1 *** Settings ***
2 Suite Setup Rspamd Setup
3 Suite Teardown Console Timestamps 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} false
13 ${RSPAMD_SCOPE} Suite
14
15 *** Test Cases ***
16 EMPTY TEST
17 Pass Execution No worries
18
19 *** Keywords ***
20 Console Timestamps 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\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2} #\\d+\\(main\\) lua; lua_cfg_transform\\.lua:\\d+: overriding actions from the legacy metric settings\\n