aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-12-31 21:37:45 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-12-31 21:37:45 +0000
commitf227be52b2087e105491fb6b9337df084f84417f (patch)
tree461f10d922c883fb59fc0ba0a24bd3b733b17b4a /test
parent3a4c01166ffc63c0b92e10f3a6ff21f85eb43449 (diff)
downloadrspamd-f227be52b2087e105491fb6b9337df084f84417f.tar.gz
rspamd-f227be52b2087e105491fb6b9337df084f84417f.zip
[Test] Clean up dummy ssl client
Diffstat (limited to 'test')
-rw-r--r--test/functional/cases/230_tcp.robot5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/cases/230_tcp.robot b/test/functional/cases/230_tcp.robot
index f5591a8b8..9848be07a 100644
--- a/test/functional/cases/230_tcp.robot
+++ b/test/functional/cases/230_tcp.robot
@@ -58,12 +58,17 @@ Servers Teardown
Dummy Http Teardown
Dummy Https Teardown
Rspamd Teardown
+ Teardown Dummy Ssl
Run Dummy Ssl
[Arguments]
${result} = Start Process ${RSPAMD_TESTDIR}/util/dummy_ssl.py ${RSPAMD_TESTDIR}/util/server.pem
Wait Until Created /tmp/dummy_ssl.pid timeout=2 second
+Teardown Dummy Ssl
+ ${ssl_pid} = Get File /tmp/dummy_ssl.pid
+ Shutdown Process With Children ${ssl_pid}
+
Check url
[Arguments] ${url} ${method} ${expect_symbol} @{expect_options}
Scan File ${MESSAGE} URL=${url} Method=${method}