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:
parent
90f496be9a
commit
7b06781a58
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ (define (gpg+git-available?)
|
||||||
#:keyring-reference "master")
|
#:keyring-reference "master")
|
||||||
'failed)))))
|
'failed)))))
|
||||||
|
|
||||||
(unless (which (git-command)) (test-skip 1))
|
(unless (which (gpg+git-available?)) (test-skip 1))
|
||||||
(test-assert "signed commits, SHA1 signature"
|
(test-assert "signed commits, SHA1 signature"
|
||||||
(with-fresh-gnupg-setup (list %ed25519-public-key-file
|
(with-fresh-gnupg-setup (list %ed25519-public-key-file
|
||||||
%ed25519-secret-key-file)
|
%ed25519-secret-key-file)
|
||||||
|
|
Loading…
Reference in a new issue