Browse Source

repair test_key_expiration.sh

Nick Mathewson 6 years ago
parent
commit
2c9f8badbd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/test_key_expiration.sh

+ 1 - 1
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"