summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-06-20 12:55:59 +0200
committerLudovic Courtès <ludo@gnu.org>2020-06-20 13:18:11 +0200
commit7b06781a58326f251c4af6340379d68e3cb98adb (patch)
tree6dae22db40626d83b64ff9c058f430d90c8ec5e8
parenttests: Actually run 'tests/guix-environment-container.sh'. (diff)
downloadguix-7b06781a58326f251c4af6340379d68e3cb98adb.tar.gz
guix-7b06781a58326f251c4af6340379d68e3cb98adb.tar.bz2
guix-7b06781a58326f251c4af6340379d68e3cb98adb.tar.xz
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.
-rw-r--r--tests/git-authenticate.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/git-authenticate.scm b/tests/git-authenticate.scm
index a06176c..865481f 100644
--- a/tests/git-authenticate.scm
+++ b/tests/git-authenticate.scm
@@ -56,7 +56,7 @@
56 #:keyring-reference "master") 56 #:keyring-reference "master")
57 'failed))))) 57 'failed)))))
58 58
59(unless (which (git-command)) (test-skip 1)) 59(unless (which (gpg+git-available?)) (test-skip 1))
60(test-assert "signed commits, SHA1 signature" 60(test-assert "signed commits, SHA1 signature"
61 (with-fresh-gnupg-setup (list %ed25519-public-key-file 61 (with-fresh-gnupg-setup (list %ed25519-public-key-file
62 %ed25519-secret-key-file) 62 %ed25519-secret-key-file)