aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_keygen.sh
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-09-03 10:53:04 -0400
committerNick Mathewson <nickm@torproject.org>2015-09-03 10:53:04 -0400
commit91ca434451064ef00532c4f8e4b098f2b1c516d1 (patch)
tree7c29bf5f5fbc50178ba3b24977ca08b07e5870fd /src/test/test_keygen.sh
parent1d514b8a91c7cea03b636156977d40b34802f8d6 (diff)
downloadtor-91ca434451064ef00532c4f8e4b098f2b1c516d1.tar.gz
tor-91ca434451064ef00532c4f8e4b098f2b1c516d1.zip
Add a little more output to test_keygen.sh: try to debug windows
Diffstat (limited to 'src/test/test_keygen.sh')
-rwxr-xr-xsrc/test/test_keygen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_keygen.sh b/src/test/test_keygen.sh
index e8e3c3d219..d6066ac50c 100755
--- a/src/test/test_keygen.sh
+++ b/src/test/test_keygen.sh
@@ -109,7 +109,7 @@ check_file "${DATA_DIR}/encrypted/keys/ed25519_signing_cert"
check_file "${DATA_DIR}/encrypted/keys/ed25519_signing_secret_key"
-echo "=== Starting tests."
+echo "=== Starting keygen tests."
#
# The "case X" numbers below come from s7r's email on
@@ -124,7 +124,7 @@ ME="${DATA_DIR}/case2a"
SRC="${DATA_DIR}/orig"
mkdir -p "${ME}/keys"
cp "${SRC}/keys/ed25519_master_id_public_key" "${ME}/keys/"
-${TOR} --DataDirectory "${ME}" --list-fingerprint > "${ME}/stdout" && die "Somehow succeeded when missing secret key, certs" || true
+${TOR} --DataDirectory "${ME}" --list-fingerprint > "${ME}/stdout" && die "Somehow succeeded when missing secret key, certs: `cat ${ME}/stdout`" || true
check_files_eq "${SRC}/keys/ed25519_master_id_public_key" "${ME}/keys/ed25519_master_id_public_key"
grep "We needed to load a secret key.*but couldn't find it" "${ME}/stdout" >/dev/null || die "Tor didn't declare that it was missing a secret key"