aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Telka <marcel@telka.sk>2024-05-17 15:40:00 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-17 12:13:37 -0700
commit05e5ff035f12811ca07271104fe4c99c8abceee6 (patch)
treeb4a95442e69e6aefd7d59a901e5c9b7d5840acb5
parentt/t0600-reffiles-backend.sh: rm -v is not portable (diff)
downloadgit-05e5ff035f12811ca07271104fe4c99c8abceee6.tar.xz
git-05e5ff035f12811ca07271104fe4c99c8abceee6.zip
t/t4202-log.sh: fix misspelled variable
The GPGSSH_GOOD_SIGNATURE_TRUSTED variable was spelled as GOOD_SIGNATURE_TRUSTED and so the grep was used the null RE that matches everything. Signed-off-by: Marcel Telka <marcel@telka.sk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t4202-log.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4202-log.sh b/t/t4202-log.sh
index 60fe60d7610..86c695eb0ae 100755
--- a/t/t4202-log.sh
+++ b/t/t4202-log.sh
@@ -2022,7 +2022,7 @@ test_expect_success GPGSM 'log --graph --show-signature x509' '
test_expect_success GPGSSH 'log --graph --show-signature ssh' '
test_config gpg.ssh.allowedSignersFile "${GPGSSH_ALLOWED_SIGNERS}" &&
git log --graph --show-signature -n1 signed-ssh >actual &&
- grep "${GOOD_SIGNATURE_TRUSTED}" actual
+ grep "${GPGSSH_GOOD_SIGNATURE_TRUSTED}" actual
'
test_expect_success GPGSSH,GPGSSH_VERIFYTIME 'log shows failure on expired signature key' '