mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
Merge branch 'tz/lib-gpg-prereq-fix'
Test update. * tz/lib-gpg-prereq-fix: t/lib-gpg: require GPGSSH for GPGSSH_VERIFYTIME prereq
This commit is contained in:
commit
891e631401
|
@ -135,6 +135,7 @@ test_lazy_prereq GPGSSH '
|
|||
'
|
||||
|
||||
test_lazy_prereq GPGSSH_VERIFYTIME '
|
||||
test_have_prereq GPGSSH &&
|
||||
# Check if ssh-keygen has a verify-time option by passing an invalid date to it
|
||||
ssh-keygen -Overify-time=INVALID -Y check-novalidate -n "git" -s doesnotmatter 2>&1 | grep -q -F "Invalid \"verify-time\"" &&
|
||||
|
||||
|
|
Loading…
Reference in a new issue