Explorar o código

repair test_key_expiration.sh

Nick Mathewson %!s(int64=6) %!d(string=hai) anos
pai
achega
2c9f8badbd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"