]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix paths in tests
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 28 Jul 2016 14:20:17 +0000 (15:20 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 28 Jul 2016 14:20:17 +0000 (15:20 +0100)
test/functional/lib/rspamd.robot
test/functional/lib/vars.py

index 1a9cc60064c8b92030929b4bb7f5b4b7b3c9b167..1daabe1c9223bd99ebcdc706e41505e5e90b3d3e 100644 (file)
@@ -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
index d76d58d84abd8a07578204039304ad92d38cfa7f..170b7c5c3905884bd87524b183475b2a45dd1eeb 100644 (file)
@@ -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