[tor-commits] [tor/master] repair test_key_expiration.sh

nickm at torproject.org nickm at torproject.org
Fri Sep 15 13:04:34 UTC 2017


commit 2c9f8badbdb75d09cac6f84da5101e6007bd4fa5
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Sep 15 09:04:22 2017 -0400

    repair test_key_expiration.sh
---
 src/test/test_key_expiration.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_key_expiration.sh b/src/test/test_key_expiration.sh
index 95d7911f0..5511dbf18 100755
--- a/src/test/test_key_expiration.sh
+++ b/src/test/test_key_expiration.sh
@@ -90,7 +90,7 @@ if [ "$CASE1" = 1 ]; then
   echo "==== Case 1: Test --key-expiration without argument and ensure usage"
   echo "             instructions are printed."
 
-  ${TOR} ${QUIETLY} --key-expiration 2>"$FN"
+  ${TOR} ${QUIETLY} --key-expiration 2>"$FN" || true
   grep "No valid argument to --key-expiration found!" "$FN" >/dev/null || \
     die "Tor didn't mention supported --key-expiration argmuents"
 



More information about the tor-commits mailing list