[tor-commits] [sbws/master] Hopefully get http server logs if put in {toxinidir}

pastly at torproject.org pastly at torproject.org
Tue Jun 26 15:36:49 UTC 2018


commit 60ef71bcd51427fed6fc4f2d80aeb8c128dd0c38
Author: Matt Traudt <sirmatt at ksu.edu>
Date:   Sun Jun 17 21:32:57 2018 -0400

    Hopefully get http server logs if put in {toxinidir}
---
 tox.ini | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tox.ini b/tox.ini
index bfe4e97..69371bd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -28,11 +28,11 @@ commands =
     tar -C {envtmpdir} -vxf {toxinidir}/tests/integration/net.tar
     bash {envtmpdir}/net/start.sh
     bash -c "time python3 {envtmpdir}/net/wait.py {envtmpdir}/net/{auth,relay,exit}*"
-    bash -c "python3 {toxinidir}/scripts/tools/sbws-http-server.py --port 28888 > {envtmpdir}/http-server.log &"
+    bash -c "python3 {toxinidir}/scripts/tools/sbws-http-server.py --port 28888 > {toxinidir}/http-server.log &"
     sleep 30
     coverage run -a --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -s {toxinidir}/tests/integration -vv
     bash {envtmpdir}/net/stop.sh
-    cat {envtmpdir}/http-server.log
+    cat {toxinidir}/http-server.log
 
 [testenv:lint]
 skip_install = True





More information about the tor-commits mailing list