[tor-commits] [sbws/master] Change runtime dir to be relative to tests dir

pastly at torproject.org pastly at torproject.org
Thu Aug 9 14:21:20 UTC 2018


commit d739c5509a08d99b9ad4802e8cf04834485e9da1
Author: juga0 <juga at riseup.net>
Date:   Tue Jul 24 18:54:39 2018 +0000

    Change runtime dir to be relative to tests dir
---
 tests/integration/conftest.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py
index 1cadb3b..4b31f8c 100644
--- a/tests/integration/conftest.py
+++ b/tests/integration/conftest.py
@@ -62,6 +62,7 @@ def conf(sbwshome_dir):
     """Default configuration with sbws home in the tmp test dir."""
     conf = _get_default_config()
     conf['paths']['sbws_home'] = sbwshome_dir
+    conf['tor']['run_dpath'] = os.path.join(sbwshome_dir, 'tor', 'run')
     conf['destinations']['foo'] = 'on'
     conf['destinations.foo'] = {}
     conf['destinations.foo']['url'] = 'http://127.0.0.1:28888/sbws.bin'





More information about the tor-commits mailing list