[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 2c9f8badbdb75d09cac6f84da5101e6007bd4fa5
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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"
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits