tests: Skip tests that requires gpg when gpg is unavailable.
[jackhill/guix/guix.git] / tests / git-authenticate.scm
index a06176c..865481f 100644 (file)
@@ -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)