diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-07 08:10:51 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-07 08:10:51 +0100 |
commit | 61d68ce55e03ed4667a5b647c0f286005ce01c85 (patch) | |
tree | f5f4dd3a3cce258997c3284d2eed6139a3040a9f /test/functional/configs/stats.conf | |
parent | 23ab4cf76ef156db35dfaae704966fd0963c12d6 (diff) | |
download | rspamd-61d68ce55e03ed4667a5b647c0f286005ce01c85.tar.gz rspamd-61d68ce55e03ed4667a5b647c0f286005ce01c85.zip |
Use BATS_TMPDIR instead of '/tmp' for tests.
Diffstat (limited to 'test/functional/configs/stats.conf')
-rw-r--r-- | test/functional/configs/stats.conf | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/configs/stats.conf b/test/functional/configs/stats.conf index d1ff23e62..cb1c14a19 100644 --- a/test/functional/configs/stats.conf +++ b/test/functional/configs/stats.conf @@ -4,12 +4,12 @@ options = { dns = { nameserver = "8.8.8.8" } - pidfile = "/tmp/rspamd-bats.pid" + pidfile = "${TMPDIR}/rspamd-bats.pid" } logging = { type = "file", level = "debug" - filename = "/tmp/rspamd-bats.log" + filename = "${TMPDIR}/rspamd-bats.log" } metric = { name = "default", @@ -45,17 +45,17 @@ classifier { } statfile { symbol = BAYES_SPAM; - path = /tmp/rspamd-bats-bayes.spam; + path = ${TMPDIR}/rspamd-bats-bayes.spam; size = 1M; } statfile { symbol = BAYES_HAM; - path = /tmp/rspamd-bats-bayes.ham; + path = ${TMPDIR}/rspamd-bats-bayes.ham; size = 1M; } cache { name = "sqlite3"; - path = /tmp/rspamd-bats-cache.sqlite; + path = ${TMPDIR}/rspamd-bats-cache.sqlite; } } |