aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-22 10:49:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-22 10:49:43 +0100
commit1c5687a9d62982be546cf1a3179a08fdf8db3209 (patch)
tree8ff0e123ea89eb065093645f50802107661263ff
parent823b80c80410a8e6f6fd58861e62f17a60ab631e (diff)
downloadrspamd-1c5687a9d62982be546cf1a3179a08fdf8db3209.tar.gz
rspamd-1c5687a9d62982be546cf1a3179a08fdf8db3209.zip
[Test] Another blind try to fix
-rw-r--r--test/functional/cases/100_general.robot2
-rw-r--r--test/functional/configs/trivial.conf14
2 files changed, 12 insertions, 4 deletions
diff --git a/test/functional/cases/100_general.robot b/test/functional/cases/100_general.robot
index ea1b45171..8dd5ed300 100644
--- a/test/functional/cases/100_general.robot
+++ b/test/functional/cases/100_general.robot
@@ -6,7 +6,7 @@ Resource ${TESTDIR}/lib/rspamd.robot
Variables ${TESTDIR}/lib/vars.py
*** Variables ***
-${CONFIG} ${TESTDIR}/configs/plugins.conf
+${CONFIG} ${TESTDIR}/configs/trivial.conf
${GTUBE} ${TESTDIR}/messages/gtube.eml
${RSPAMD_SCOPE} Suite
${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat
diff --git a/test/functional/configs/trivial.conf b/test/functional/configs/trivial.conf
index 4a16554ca..06aa194e3 100644
--- a/test/functional/configs/trivial.conf
+++ b/test/functional/configs/trivial.conf
@@ -1,10 +1,12 @@
options = {
filters = ["spf", "dkim", "regexp"]
url_tld = "${TESTDIR}/../lua/unit/test_tld.dat"
- pidfile = "${TMPDIR}/rspamd.pid"
+ pidfile = "${TMPDIR}/rspamd.pid";
+ lua_path = "${INSTALLROOT}/share/rspamd/lib/?.lua";
dns {
- retransmits = 10;
- timeout = 2s;
+ nameserver = ["8.8.8.8", "8.8.4.4"];
+ retransmits = 10;
+ timeout = 2s;
}
}
logging = {
@@ -39,3 +41,9 @@ worker {
secure_ip = ["127.0.0.1", "::1"];
stats_path = "${TMPDIR}/stats.ucl"
}
+
+modules {
+ path = "${TESTDIR}/../../src/plugins/lua/"
+}
+lua = "${INSTALLROOT}/share/rspamd/rules/rspamd.lua"
+