Pārlūkot izejas kodu

Merge pull request #4775 from fatalbanana/robot

[Test] Fix tests on Robot Framework 7.0
tags/3.8.0
Vsevolod Stakhov pirms 4 mēnešiem
vecāks
revīzija
2e1d005959
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3
    3
      test/functional/cases/150_rspamadm.robot

+ 3
- 3
test/functional/cases/150_rspamadm.robot Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt