commit 167dd097e04936ea11d319723a2989d293b009b1
parent 72ef4f43d5a2e09bc7544b7090a8fc0992adba02
Author: Nick Mathewson <nickm@torproject.org>
Date: Wed, 26 Jun 2019 09:40:01 -0400
Merge remote-tracking branch 'tor-github/pr/1127'
Diffstat:
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -191,6 +191,10 @@ 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 depend on default configuration file at
+ ## ~/.torrc. So we put some random bytes in there, to make sure we get build
+ ## failures in case Tor is reading it during CI jobs.
+ - dd ibs=1 count=1024 if=/dev/urandom > ~/.torrc
script:
# Skip test_rebind on macOS
diff --git a/changes/ticket30102 b/changes/ticket30102
@@ -0,0 +1,4 @@
+ o Minor features (continuous integration):
+ - When running CI builds on Travis, put some random data in ~/.torrc,
+ to make sure no tests are dependent on default Tor configuration.
+ Resolves issue 30102.