aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/lua
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-09-27 15:07:17 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-09-27 15:07:17 +0100
commit023a17c1da5fa20491e2926e753f532f2a43d06f (patch)
tree26fd20d403430ff37ea8b0b932328ffd76813f0f /test/functional/lua
parent13a1ea4afb96a189767208f927b4588e9af3faa7 (diff)
downloadrspamd-023a17c1da5fa20491e2926e753f532f2a43d06f.tar.gz
rspamd-023a17c1da5fa20491e2926e753f532f2a43d06f.zip
[Test] fixed config path
Diffstat (limited to 'test/functional/lua')
-rw-r--r--test/functional/lua/rspamadm/test_dns_client.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/rspamadm/test_dns_client.lua b/test/functional/lua/rspamadm/test_dns_client.lua
index 9e7edaa46..c54d59499 100644
--- a/test/functional/lua/rspamadm/test_dns_client.lua
+++ b/test/functional/lua/rspamadm/test_dns_client.lua
@@ -1,7 +1,7 @@
local rspamd_dns = require "rspamd_dns"
local logger = require "rspamd_logger"
-local config_path = '/Users/mgalanin/build/robot-save/rspamd.conf.last'
+local config_path = rspamd_paths['CONFDIR'] .. '/rspamd.conf'
local _r,err = rspamd_config:load_ucl(config_path)
if not _r then