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>
Marcel Telka committed
May 17, 2024 at 15:40 UTC
05e5ff035f12811ca07271104fe4c99c8abceee6
1 file changed
+1
-1
t/t4202-log.sh
+1
-1
@@ -2022,7 +2022,7 @@ test_expect_success GPGSM 'log --graph --show-signature x509' '
2022
test_expect_success GPGSSH 'log --graph --show-signature ssh' '
2023
test_config gpg.ssh.allowedSignersFile "${GPGSSH_ALLOWED_SIGNERS}" &&
2024
git log --graph --show-signature -n1 signed-ssh >actual &&
2025
- grep "${GOOD_SIGNATURE_TRUSTED}" actual
2025
+ grep "${GPGSSH_GOOD_SIGNATURE_TRUSTED}" actual
2026
'
2027
2028
test_expect_success GPGSSH,GPGSSH_VERIFYTIME 'log shows failure on expired signature key' '