tests: Allow 'tests/git-authenticate.scm' to run when git/gpg is missing.
authorLudovic Courtès <ludo@gnu.org>
Sun, 28 Jun 2020 20:55:51 +0000 (22:55 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 28 Jun 2020 21:26:53 +0000 (23:26 +0200)
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?).

tests/git-authenticate.scm

index 865481f..d87eacc 100644 (file)
@@ -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)