aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/150_rspamadm.robot
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases/150_rspamadm.robot')
-rw-r--r--test/functional/cases/150_rspamadm.robot9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/functional/cases/150_rspamadm.robot b/test/functional/cases/150_rspamadm.robot
index 879d4d7e8..83229dd11 100644
--- a/test/functional/cases/150_rspamadm.robot
+++ b/test/functional/cases/150_rspamadm.robot
@@ -34,7 +34,12 @@ Process message callback
Lua batch mode
${result} = Run Process ${RSPAMADM} lua -b ${RSPAMD_TESTDIR}/lua/rspamadm/test_batch.lua
- Should Match Regexp ${result.stderr} ^$
+ Should Be Equal ${result.stderr} hello world
+ Should Match Regexp ${result.stdout} ^$
Should Be Equal As Integers ${result.rc} 0
- Should Be Equal ${result.stdout} hello world
+Verbose mode
+ ${result} = Run Process ${RSPAMADM} -v lua ${RSPAMD_TESTDIR}/lua/rspamadm/test_verbose.lua
+ Should Match Regexp ${result.stderr} ^$
+ Should Match Regexp ${result.stdout} hello world\n
+ Should Be Equal As Integers ${result.rc} 0