[tor-commits] [sbws/master] 'time' isn't always a program: sometimes it's a bash feature

pastly at torproject.org pastly at torproject.org
Thu Jun 14 13:29:50 UTC 2018


commit 8f5f590a4d1af216afd1fd2130c7465ed19e6b1f
Author: Matt Traudt <sirmatt at ksu.edu>
Date:   Wed Jun 6 20:48:07 2018 -0400

    'time' isn't always a program: sometimes it's a bash feature
---
 tox.ini | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tox.ini b/tox.ini
index 8d0b52e..5134fb4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -22,11 +22,10 @@ deps = .[test]
 whitelist_externals =
     tar
     bash
-    time
 commands =
     tar -C {envtmpdir} -vxf {toxinidir}/tests/integration/net.tar
     bash {envtmpdir}/net/start.sh
-    time bash -c "python3 {envtmpdir}/net/wait.py {envtmpdir}/net/{auth,relay,exit}*"
+    bash -c "time python3 {envtmpdir}/net/wait.py {envtmpdir}/net/{auth,relay,exit}*"
     coverage run -a --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -s {toxinidir}/tests/integration -vv
     bash {envtmpdir}/net/stop.sh
 





More information about the tor-commits mailing list