summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2024-01-12 13:09:37 +0200
committerAndrew Lewis <nerf@judo.za.org>2024-01-12 13:09:37 +0200
commit42ff00ee6d35f17019de7c42fa2b456ba810eeef (patch)
tree999d070fc2054755bd98c41cb80bf2f48475752f /test
parent2e2aab12026b0cbd401a364a888d6ecdd5f8d5db (diff)
downloadrspamd-42ff00ee6d35f17019de7c42fa2b456ba810eeef.tar.gz
rspamd-42ff00ee6d35f17019de7c42fa2b456ba810eeef.zip
[Test] Fix tests on Robot Framework 7.0
Diffstat (limited to 'test')
-rw-r--r--test/functional/cases/150_rspamadm.robot6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/cases/150_rspamadm.robot b/test/functional/cases/150_rspamadm.robot
index 83229dd11..ef3db9880 100644
--- a/test/functional/cases/150_rspamadm.robot
+++ b/test/functional/cases/150_rspamadm.robot
@@ -17,17 +17,17 @@ Config Help
Should Be Equal As Integers ${result.rc} 0
Simple interpreter
- ${handle} = Start Process ${RSPAMADM} lua
+ ${handle} = Start Process ${RSPAMADM} lua stdin=PIPE
${result} = Write to stdin ${handle} 1+1
Should Be Equal As Strings ${result} 2\n
Simple interpreter, two results
- ${handle} = Start Process ${RSPAMADM} lua
+ ${handle} = Start Process ${RSPAMADM} lua stdin=PIPE
${result} = Write to stdin ${handle} 1+1, 2 * 5
Should Be Equal ${result} 2\n10\n
Process message callback
- ${handle} = Start Process ${RSPAMADM} lua
+ ${handle} = Start Process ${RSPAMADM} lua stdin=PIPE
${result} = Write to stdin ${handle} .load ${RSPAMD_TESTDIR}/lua/rspamadm/test_message_callback.lua\n.message message_callback ${RSPAMD_TESTDIR}/messages/empty_part.eml
Should Contain ${result} n parts = 2
Should Contain ${result} 1\n2\n4\n6