guix-commits
[Top][All Lists]
Advanced

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

02/05: tests: Allow 'tests/git-authenticate.scm' to run when git/gpg is


From: guix-commits
Subject: 02/05: tests: Allow 'tests/git-authenticate.scm' to run when git/gpg is missing.
Date: Sun, 28 Jun 2020 17:30:05 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 0a8dd8aae5fad365c2f429d48e4085a3b3388332
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Jun 28 22:55:51 2020 +0200

    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?).
---
 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 865481f..d87eacc 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)



reply via email to

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