Browse Source

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.
wip-haskell-updates-2
Ludovic Courtès 2 years ago
parent
commit
7b06781a58
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 2
      tests/git-authenticate.scm

2
tests/git-authenticate.scm

@ -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)

Loading…
Cancel
Save