Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/e2e/test_signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
import pytest
from conftest import cmd_git_nested

# git asks gpg.program for a signature; this one makes a fake one.
# git asks gpg.program for a signature; this one makes a fake one. Like gpg, it
# prints another status line before SIG_CREATED: older git (e.g. 2.34) only finds
# SIG_CREATED after a newline.
FAKE_GPG = """#!/bin/sh
cat > /dev/null
echo '[GNUPG:] BEGIN_SIGNING H8' >&2
echo '[GNUPG:] SIG_CREATED D 1 8 00 0 FAKE' >&2
printf -- '-----BEGIN PGP SIGNATURE-----\\nfake\\n-----END PGP SIGNATURE-----\\n'
"""
Expand Down
Loading