bx509: Fix test moar
This commit is contained in:
@@ -643,7 +643,7 @@ if which jq >/dev/null; then
|
|||||||
(.tickets[0].Issued | strptime("%b %e %H:%M:%S %Y")|mktime) as $iat
|
(.tickets[0].Issued | strptime("%b %e %H:%M:%S %Y")|mktime) as $iat
|
||||||
| (.tickets[0].Expires | strptime("%b %e %H:%M:%S %Y")|mktime) as $exp
|
| (.tickets[0].Expires | strptime("%b %e %H:%M:%S %Y")|mktime) as $exp
|
||||||
| (($exp - $iat) / 86400) as $life_days
|
| (($exp - $iat) / 86400) as $life_days
|
||||||
| ($life_days > 4 and $life_days < 5)'; then
|
| ($life_days > 4 and $life_days <= 5)'; then
|
||||||
echo "Incorrect lifetime"
|
echo "Incorrect lifetime"
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user