diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-08 16:32:12 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-08 16:32:12 +0100 |
commit | d32a7cf4cab1003ab1dc9a953c181bb025fd15f1 (patch) | |
tree | 27b77430bc87e03e51487d0a57634eed3791a6d5 /test/functional/configs | |
parent | e95ca5c778fb9dd0969c842ec57389025a9db913 (diff) | |
download | rspamd-d32a7cf4cab1003ab1dc9a953c181bb025fd15f1.tar.gz rspamd-d32a7cf4cab1003ab1dc9a953c181bb025fd15f1.zip |
Use more UCL vars for tests.
Diffstat (limited to 'test/functional/configs')
-rw-r--r-- | test/functional/configs/lua_test.conf | 2 | ||||
-rw-r--r-- | test/functional/configs/stats.conf | 8 | ||||
-rw-r--r-- | test/functional/configs/trivial.conf | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test/functional/configs/lua_test.conf b/test/functional/configs/lua_test.conf index 0cab3c59c..86d839709 100644 --- a/test/functional/configs/lua_test.conf +++ b/test/functional/configs/lua_test.conf @@ -9,7 +9,7 @@ options = { logging = { type = "file", level = "debug" - filename = "/tmp/rspamd-bats.log" + filename = "/tmp/rspamd-bats-${TEST_NUM}.log" } metric = { name = "default", diff --git a/test/functional/configs/stats.conf b/test/functional/configs/stats.conf index cb1c14a19..b37615caa 100644 --- a/test/functional/configs/stats.conf +++ b/test/functional/configs/stats.conf @@ -9,7 +9,7 @@ options = { logging = { type = "file", level = "debug" - filename = "${TMPDIR}/rspamd-bats.log" + filename = "${TMPDIR}/rspamd-bats-${TEST_NUM}.log" } metric = { name = "default", @@ -45,17 +45,17 @@ classifier { } statfile { symbol = BAYES_SPAM; - path = ${TMPDIR}/rspamd-bats-bayes.spam; + path = ${STATSDIR}/rspamd-bats-bayes.spam; size = 1M; } statfile { symbol = BAYES_HAM; - path = ${TMPDIR}/rspamd-bats-bayes.ham; + path = ${STATSDIR}/rspamd-bats-bayes.ham; size = 1M; } cache { name = "sqlite3"; - path = ${TMPDIR}/rspamd-bats-cache.sqlite; + path = ${STATSDIR}/rspamd-bats-cache.sqlite; } } diff --git a/test/functional/configs/trivial.conf b/test/functional/configs/trivial.conf index a39544a53..3302ea431 100644 --- a/test/functional/configs/trivial.conf +++ b/test/functional/configs/trivial.conf @@ -9,7 +9,7 @@ options = { logging = { type = "file", level = "debug" - filename = "${TMPDIR}/rspamd-bats.log" + filename = "${TMPDIR}/rspamd-bats-${TEST_NUM}.log" } metric = { name = "default", |