[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] On Travis, put random data in ~/.torrc



commit f9de9052e1e63401bb0d824eeb3cf0677b6dfd7d
Author: rl1987 <rl1987@xxxxxxxxxxxxxxxx>
Date:   Sun Jun 23 13:31:47 2019 +0300

    On Travis, put random data in ~/.torrc
---
 .travis.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 5d5d95f6b..1901d950a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -191,6 +191,9 @@ install:
   - python --version
   ## run stem tests if they are enabled.
   - if [[ "$TEST_STEM" != "" ]]; then pushd stem; python -c "from stem import stem; print(stem.__version__);"; git log -1; popd; fi
+  ## We don't want Tor tests to depends on default configuration file at
+  ## ~/.torrc. So we put some random bytes in there, to make sure it doesn't.
+  - dd ibs=1 count=1024 if=/dev/urandom > ~/.torrc
 
 script:
   # Skip test_rebind on macOS



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits