summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-06-28 22:55:51 +0200
committerLudovic Courtès <ludo@gnu.org>2020-06-28 23:26:53 +0200
commit0a8dd8aae5fad365c2f429d48e4085a3b3388332 (patch)
tree1d00415f59303bce5a6c38ad2e0bf7f018ee7c29 /tests
parent1acc5e11beb1b8eea9fe931455bf2c9a26a69aa3 (diff)
downloadguix-0a8dd8aae5fad365c2f429d48e4085a3b3388332.tar.gz
tests: Allow 'tests/git-authenticate.scm' to run when git/gpg is missing.
Fixes <https://bugs.gnu.org/42077>.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>.

The typo was introduced in 7b06781a58326f251c4af6340379d68e3cb98adb.

* tests/git-authenticate.scm <top level>: Remove call to 'which'
around (gpg+git-available?).
Diffstat (limited to 'tests')
-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 865481f7c5..d87eacc659 100644
--- a/tests/git-authenticate.scm
+++ b/tests/git-authenticate.scm
@@ -56,7 +56,7 @@
                                 #:keyring-reference "master")
           'failed)))))
 
-(unless (which (gpg+git-available?)) (test-skip 1))
+(unless (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)