]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t/t4202-log.sh: fix misspelled variable
authorMarcel Telka <marcel@telka.sk>
Fri, 17 May 2024 13:40:00 +0000 (15:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 May 2024 19:13:37 +0000 (12:13 -0700)
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>
t/t4202-log.sh

index 60fe60d7610e2a8141c58385b2319c7fa43a5de3..86c695eb0aef8d211053f549917666f838c3b5e1 100755 (executable)
@@ -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' '