]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Check legacy protocol more precisely
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 15 Jun 2018 15:17:04 +0000 (16:17 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 15 Jun 2018 15:17:04 +0000 (16:17 +0100)
test/functional/cases/140_proxy.robot

index 7b29f188a3a547324640b6169fc8af003a456ae5..a4fe9d7ca27edfb2298d7f797c238e93a76d3452 100644 (file)
@@ -23,13 +23,13 @@ SPAMC
   ${result} =  Spamc  ${LOCAL_ADDR}  ${PORT_PROXY}  ${MESSAGE}
   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
-  Should Contain  ${result}  SIMPLE_TEST
+  Should Contain  ${result}  SPAMD/1.1 0 EX_OK
 
 RSPAMC Legacy Protocol
   ${result} =  Rspamc  ${LOCAL_ADDR}  ${PORT_PROXY}  ${MESSAGE}
   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
-  Should Contain  ${result}  SIMPLE_TEST
+  Should Contain  ${result}  RSPAMD/1.3 0 EX_OK
 
 *** Keywords ***
 Proxy Setup