aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-08-05 11:35:02 +0100
committerAndrew Lewis <nerf@judo.za.org>2016-08-05 11:35:02 +0100
commit35b17f0600cefe0537b0e775e9db0ccb34f89721 (patch)
tree93d732db301bf4537ea8c21e5ca48c9cf538120c /test/functional/lua
parentb679ef76a23e43a88ab1b0af722de4b13bb0cff3 (diff)
downloadrspamd-35b17f0600cefe0537b0e775e9db0ccb34f89721.tar.gz
rspamd-35b17f0600cefe0537b0e775e9db0ccb34f89721.zip
[Test] Add SpamAssassin metas/foreign dependencies test
Diffstat (limited to 'test/functional/lua')
-rw-r--r--test/functional/lua/simple.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/functional/lua/simple.lua b/test/functional/lua/simple.lua
new file mode 100644
index 000000000..51a1f8b27
--- /dev/null
+++ b/test/functional/lua/simple.lua
@@ -0,0 +1,7 @@
+rspamd_config:register_symbol({
+ name = 'SIMPLE_TEST',
+ score = 1.0,
+ callback = function(task)
+ return true, 'Fires always'
+ end
+})