diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-06-20 12:55:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-06-20 13:18:11 +0200 |
commit | 7b06781a58326f251c4af6340379d68e3cb98adb (patch) | |
tree | 6dae22db40626d83b64ff9c058f430d90c8ec5e8 /tests | |
parent | 90f496be9ad53802fd260cac3840e7bae24a3e39 (diff) | |
download | guix-7b06781a58326f251c4af6340379d68e3cb98adb.tar.gz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/git-authenticate.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/git-authenticate.scm b/tests/git-authenticate.scm index a06176c16b..865481f7c5 100644 --- a/tests/git-authenticate.scm +++ b/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) |