From b871a1e1334570e6548f181cc59c97e5015f61aa Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 28 Jul 2016 15:20:17 +0100 Subject: [PATCH] [Fix] Fix paths in tests --- test/functional/lib/rspamd.robot | 2 +- test/functional/lib/vars.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/lib/rspamd.robot b/test/functional/lib/rspamd.robot index 1a9cc6006..1daabe1c9 100644 --- a/test/functional/lib/rspamd.robot +++ b/test/functional/lib/rspamd.robot @@ -106,7 +106,7 @@ Run Rspamd Log ${config} Create File ${TMPDIR}/rspamd.conf ${config} ${result} = Run Process ${RSPAMD} -u ${RSPAMD_USER} -g ${RSPAMD_GROUP} - ... -c ${TMPDIR}/rspamd.conf env:LD_LIBRARY_PATH=${TESTDIR}/../../contrib/aho-corasick + ... -c ${TMPDIR}/rspamd.conf DBDIR\=${TMPDIR} env:TMPDIR=${TMPDIR} env:LD_LIBRARY_PATH=${TESTDIR}/../../contrib/aho-corasick Run Keyword If ${result.rc} != 0 Log ${result.stderr} ${rspamd_logpos} = Log Logs ${TMPDIR}/rspamd.log 0 Should Be Equal As Integers ${result.rc} 0 diff --git a/test/functional/lib/vars.py b/test/functional/lib/vars.py index d76d58d84..170b7c5c3 100644 --- a/test/functional/lib/vars.py +++ b/test/functional/lib/vars.py @@ -1,6 +1,6 @@ KEY_PVT1 = 'ekd3x36tfa5gd76t6pa8hqif3ott7n1siuux68exbkk7ukscte9y' KEY_PUB1 = 'm8kneubpcjsb8sbsoj7jy7azj9fdd3xmj63txni86a8ye9ncomny' -LOCAL_ADDR = 'localhost' +LOCAL_ADDR = '127.0.0.1' PORT_CONTROLLER = 56790 PORT_FUZZY = 56791 PORT_NORMAL = 56789 -- 2.39.5