From: Mikhail Galanin Date: Thu, 27 Sep 2018 14:07:17 +0000 (+0100) Subject: [Test] fixed config path X-Git-Tag: 1.8.1~142^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2540%2Fhead;p=thirdparty%2Frspamd.git [Test] fixed config path --- diff --git a/test/functional/lua/rspamadm/test_dns_client.lua b/test/functional/lua/rspamadm/test_dns_client.lua index 9e7edaa469..c54d594999 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