tests: Skip tests that requires gpg when gpg is unavailable.

Partly fixes <https://bugs.gnu.org/41932>.
Reported by Simen Endsjø <simendsjo@gmail.com>.

* tests/git-authenticate.scm ("signed commits, SHA1 signature"): Use
'gpg+git-available?' in skip guard.
This commit is contained in:
Ludovic Courtès 2020-06-20 12:55:59 +02:00
parent 90f496be9a
commit 7b06781a58
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
#:keyring-reference "master")
'failed)))))
(unless (which (git-command)) (test-skip 1))
(unless (which (gpg+git-available?)) (test-skip 1))
(test-assert "signed commits, SHA1 signature"
(with-fresh-gnupg-setup (list %ed25519-public-key-file
%ed25519-secret-key-file)