mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
repair test_key_expiration.sh
This commit is contained in:
parent
a213a32b7c
commit
2c9f8badbd
@ -90,7 +90,7 @@ if [ "$CASE1" = 1 ]; then
|
|||||||
echo "==== Case 1: Test --key-expiration without argument and ensure usage"
|
echo "==== Case 1: Test --key-expiration without argument and ensure usage"
|
||||||
echo " instructions are printed."
|
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 || \
|
grep "No valid argument to --key-expiration found!" "$FN" >/dev/null || \
|
||||||
die "Tor didn't mention supported --key-expiration argmuents"
|
die "Tor didn't mention supported --key-expiration argmuents"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user