diff options
author | teor <teor@torproject.org> | 2019-04-10 19:03:43 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-04-10 19:03:43 +1000 |
commit | 12b9bfc05f3a163b44f0f8b6638f027de16e622b (patch) | |
tree | ceeaaefe130bdd5953eca62c441e8005effbd9c3 /src/test/test_key_expiration.sh | |
parent | acec0192c3d6400316037cdc3e4c9093c1919252 (diff) | |
download | tor-12b9bfc05f3a163b44f0f8b6638f027de16e622b.tar.gz tor-12b9bfc05f3a163b44f0f8b6638f027de16e622b.zip |
test: Also avoid reading the system default torrc in integration tests
Part of 29702.
Diffstat (limited to 'src/test/test_key_expiration.sh')
-rwxr-xr-x | src/test/test_key_expiration.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_key_expiration.sh b/src/test/test_key_expiration.sh index cf6608634d..3474210607 100755 --- a/src/test/test_key_expiration.sh +++ b/src/test/test_key_expiration.sh @@ -66,10 +66,11 @@ trap "rm -rf '$DATA_DIR'" 0 DATA_DIR=`cd "${DATA_DIR}" && pwd` touch "${DATA_DIR}/empty_torrc" +touch "${DATA_DIR}/empty_defaults_torrc" QUIETLY="--hush" SILENTLY="--quiet" -TOR="${TOR_BINARY} --DisableNetwork 1 --ShutdownWaitLength 0 --ORPort 12345 --ExitRelay 0 -f ${DATA_DIR}/empty_torrc --DataDirectory ${DATA_DIR}" +TOR="${TOR_BINARY} --DisableNetwork 1 --ShutdownWaitLength 0 --ORPort 12345 --ExitRelay 0 --DataDirectory ${DATA_DIR} -f ${DATA_DIR}/empty_torrc --defaults-torrc ${DATA_DIR}/empty_defaults_torrc" ##### SETUP # |