summaryrefslogtreecommitdiff
path: root/t/t7510-signed-commit.sh
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-11-04 09:47:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-05 02:00:58 (GMT)
commit1e690847d14034072379fb1382ef09fda3ed12bc (patch)
treee50940e63a174145b853407b2ade703069d17b3e /t/t7510-signed-commit.sh
parent1a550529b123f1b45334b6ed3d9b2c3e94e319e2 (diff)
downloadgit-1e690847d14034072379fb1382ef09fda3ed12bc.zip
git-1e690847d14034072379fb1382ef09fda3ed12bc.tar.gz
git-1e690847d14034072379fb1382ef09fda3ed12bc.tar.bz2
t/t7510-signed-commit.sh: add signing subkey to Eris Discordia key
Add a dedicated signing subkey to the key identified as 'Eris Discordia', and update tests appropriately. GnuPG will now sign commits using the dedicated signing subkey, changing the value of %GK and %GF, and effectively creating a test case for %GF!=%GP. Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7510-signed-commit.sh')
-rwxr-xr-xt/t7510-signed-commit.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t7510-signed-commit.sh b/t/t7510-signed-commit.sh
index e837728..86d3f93 100755
--- a/t/t7510-signed-commit.sh
+++ b/t/t7510-signed-commit.sh
@@ -197,9 +197,9 @@ test_expect_success GPG 'show bad signature with custom format' '
test_expect_success GPG 'show untrusted signature with custom format' '
cat >expect <<-\EOF &&
U
- 61092E85B7227189
+ 65A0EEA02E30CAD7
Eris Discordia <discord@example.net>
- D4BE22311AD3131E5EDA29A461092E85B7227189
+ F8364A59E07FFE9F4D63005A65A0EEA02E30CAD7
D4BE22311AD3131E5EDA29A461092E85B7227189
EOF
git log -1 --format="%G?%n%GK%n%GS%n%GF%n%GP" eighth-signed-alt >actual &&
@@ -209,7 +209,7 @@ test_expect_success GPG 'show untrusted signature with custom format' '
test_expect_success GPG 'show unknown signature with custom format' '
cat >expect <<-\EOF &&
E
- 61092E85B7227189
+ 65A0EEA02E30CAD7