]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
repair test_key_expiration.sh
authorNick Mathewson <nickm@torproject.org>
Fri, 15 Sep 2017 13:04:22 +0000 (09:04 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 15 Sep 2017 13:04:22 +0000 (09:04 -0400)
src/test/test_key_expiration.sh

index 95d7911f047b0013fc1225a3722c9a1e653f70f8..5511dbf18cdfa04063ecf3f46ea3ec09a36c48ee 100755 (executable)
@@ -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"