aboutsummaryrefslogtreecommitdiff
path: root/src/test/zero_length_keys.sh
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-12 21:28:01 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-12 21:28:01 -0500
commit038804e13dbed8160e41e57116aa81e240f3e47a (patch)
tree819ba31b95b2ad86580113c051eaee937debf9c1 /src/test/zero_length_keys.sh
parent2edfdc02a29e73a01f360f257d8dfe916a7a5b45 (diff)
downloadtor-038804e13dbed8160e41e57116aa81e240f3e47a.tar.gz
tor-038804e13dbed8160e41e57116aa81e240f3e47a.zip
Tweak zero_length_keys.sh and test/include.am to make out-of-tree builds work
Diffstat (limited to 'src/test/zero_length_keys.sh')
-rwxr-xr-xsrc/test/zero_length_keys.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/zero_length_keys.sh b/src/test/zero_length_keys.sh
index e7cb900cec..8e003a46c5 100755
--- a/src/test/zero_length_keys.sh
+++ b/src/test/zero_length_keys.sh
@@ -26,7 +26,9 @@ if [ $# -lt 1 ]; then
fi
export DATA_DIR=`mktemp -d -t tor_zero_length_keys`
-TOR="src/or/tor --hush --DisableNetwork 1 --ShutdownWaitLength 0 --ORPort 12345"
+# DisableNetwork means that the ORPort won't actually be opened.
+# 'ExitRelay 0' suppresses a warning.
+TOR="./src/or/tor --hush --DisableNetwork 1 --ShutdownWaitLength 0 --ORPort 12345 --ExitRelay 0"
if [ -s "$DATA_DIR"/keys/secret_id_key -a -s "$DATA_DIR"/keys/secret_onion_key -a -s "$DATA_DIR"/keys/secret_onion_key_ntor ]; then
echo "Failure: Previous tor keys present in tor data directory"