]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Fix rspamc invocation to support arguments passing
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 28 Jul 2016 12:57:33 +0000 (13:57 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 28 Jul 2016 12:57:33 +0000 (13:57 +0100)
test/functional/lib/rspamd.robot

index 51030c84f15abfa208dc8b5d78ea82ca737ac9c2..1a9cc60064c8b92030929b4bb7f5b4b7b3c9b167 100644 (file)
@@ -115,8 +115,8 @@ Run Rspamd
   [Return]  ${TMPDIR}  ${rspamd_pid}  ${rspamd_logpos}
 
 Scan Message With Rspamc
-  [Arguments]  ${msg_file}
-  ${result} =  Run Rspamc  -p  -h  ${LOCAL_ADDR}:${PORT_NORMAL}  ${msg_file}
+  [Arguments]  ${msg_file}  @{vargs}
+  ${result} =  Run Rspamc  -p  -h  ${LOCAL_ADDR}:${PORT_NORMAL}  @{vargs}  ${msg_file}
   [Return]  ${result}
 
 Sync Fuzzy Storage