guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: tests: Skip tests that requires gpg when gpg is unavailable.


From: guix-commits
Subject: 03/04: tests: Skip tests that requires gpg when gpg is unavailable.
Date: Sat, 20 Jun 2020 07:18:37 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 7b06781a58326f251c4af6340379d68e3cb98adb
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Jun 20 12:55:59 2020 +0200

    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.
---
 tests/git-authenticate.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@
                                 #: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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]