diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-08-09 14:12:46 +0100 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-08-09 14:12:46 +0100 |
commit | 67ee0d9274e0d27d6c0e118de11862c8258597b9 (patch) | |
tree | fdddace1298dabeae0835e22f532eded66b4ef5d /test/functional/cases | |
parent | bd01177c1364399ef29ca6671669a271af967998 (diff) | |
download | rspamd-67ee0d9274e0d27d6c0e118de11862c8258597b9.tar.gz rspamd-67ee0d9274e0d27d6c0e118de11862c8258597b9.zip |
[Test] Add custom rspamd log follower for non-standard tests
Diffstat (limited to 'test/functional/cases')
-rw-r--r-- | test/functional/cases/140_proxy.robot | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/functional/cases/140_proxy.robot b/test/functional/cases/140_proxy.robot index 6ad308692..a82c687e4 100644 --- a/test/functional/cases/140_proxy.robot +++ b/test/functional/cases/140_proxy.robot @@ -12,10 +12,8 @@ ${MESSAGE} ${TESTDIR}/messages/spam_message.eml *** Test Cases *** Scan Message ${result} = Run Rspamc -h ${LOCAL_ADDR}:${PORT_PROXY} -p ${MESSAGE} - ${PROXY_LOGPOS} = Log Logs ${PROXY_TMPDIR}/rspamd.log ${PROXY_LOGPOS} - Set Suite Variable ${PROXY_LOGPOS} - ${SLAVE_LOGPOS} = Log Logs ${SLAVE_TMPDIR}/rspamd.log ${SLAVE_LOGPOS} - Set Suite Variable ${SLAVE_LOGPOS} + Custom Follow Rspamd Log ${PROXY_TMPDIR}/rspamd.log ${PROXY_LOGPOS} PROXY_LOGPOS Suite + Custom Follow Rspamd Log ${SLAVE_TMPDIR}/rspamd.log ${SLAVE_LOGPOS} SLAVE_LOGPOS Suite Run Keyword If ${result.rc} != 0 Log ${result.stderr} Should Contain ${result.stdout} SIMPLE_TEST Should Be Equal As Integers ${result.rc} 0 |