diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2020-06-20 12:55:59 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2020-06-20 13:18:11 +0200 |
| commit | 7b06781a58326f251c4af6340379d68e3cb98adb (patch) | |
| tree | 6dae22db40626d83b64ff9c058f430d90c8ec5e8 /tests/git-authenticate.scm | |
| parent | 90f496be9ad53802fd260cac3840e7bae24a3e39 (diff) | |
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.
Diffstat (limited to 'tests/git-authenticate.scm')
| -rw-r--r-- | tests/git-authenticate.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/git-authenticate.scm b/tests/git-authenticate.scm index a06176c16ba..865481f7c50 100644 --- a/tests/git-authenticate.scm +++ b/tests/git-authenticate.scm | |||
| @@ -56,7 +56,7 @@ | |||
| 56 | #:keyring-reference "master") | 56 | #:keyring-reference "master") |
| 57 | 'failed))))) | 57 | 'failed))))) |
| 58 | 58 | ||
| 59 | (unless (which (git-command)) (test-skip 1)) | 59 | (unless (which (gpg+git-available?)) (test-skip 1)) |
| 60 | (test-assert "signed commits, SHA1 signature" | 60 | (test-assert "signed commits, SHA1 signature" |
| 61 | (with-fresh-gnupg-setup (list %ed25519-public-key-file | 61 | (with-fresh-gnupg-setup (list %ed25519-public-key-file |
| 62 | %ed25519-secret-key-file) | 62 | %ed25519-secret-key-file) |
