]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Another blind try to fix
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 22 Jun 2018 09:49:43 +0000 (10:49 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 22 Jun 2018 09:49:43 +0000 (10:49 +0100)
test/functional/cases/100_general.robot
test/functional/configs/trivial.conf

index ea1b451711ee3838549f767755f077c4012b3353..8dd5ed30006ce2711d2be441af1fb23611233812 100644 (file)
@@ -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
index 4a16554ca591efd55786948c1610456a113c0cea..06aa194e35be03d6da8dd5c591f5135614dc738c 100644 (file)
@@ -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"
+