summaryrefslogtreecommitdiffstats
path: root/test/functional/cases/101_lua.robot
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-18 11:59:32 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-18 11:59:32 +0200
commite42c3953abdc41ffbd14fb299c8aa948b6beceee (patch)
tree3ad5c34095ebcf42b2b23443b92c2ab150532894 /test/functional/cases/101_lua.robot
parenta1bac50090b1742f09cac1b3a1eb55b8de62ded9 (diff)
downloadrspamd-e42c3953abdc41ffbd14fb299c8aa948b6beceee.tar.gz
rspamd-e42c3953abdc41ffbd14fb299c8aa948b6beceee.zip
[Test] Some basic tests for hashes in Lua
Diffstat (limited to 'test/functional/cases/101_lua.robot')
-rw-r--r--test/functional/cases/101_lua.robot5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/cases/101_lua.robot b/test/functional/cases/101_lua.robot
index e7df19716..867ecd2cd 100644
--- a/test/functional/cases/101_lua.robot
+++ b/test/functional/cases/101_lua.robot
@@ -40,6 +40,11 @@ TLD parts
${result} = Scan Message With Rspamc ${MESSAGE}
Check Rspamc ${result} TEST_TLD (1.00)[no worry]
+Hashes
+ [Setup] Lua Setup ${TESTDIR}/lua/hashes.lua
+ ${result} = Scan Message With Rspamc ${MESSAGE}
+ Check Rspamc ${result} TEST_HASHES (1.00)[no worry]
+
*** Keywords ***
Lua Setup
[Arguments] ${LUA_SCRIPT}