@@ -1066,12 +1066,12 @@ test_expect_success GPG \
1066
1066
'
1067
1067
1068
1068
# usage with rfc1991 signatures
1069
- echo " rfc1991" > gpghome/gpg.conf
1070
1069
get_tag_header rfc1991-signed-tag $commit commit $time > expect
1071
1070
echo " RFC1991 signed tag" >> expect
1072
1071
echo ' -----BEGIN PGP MESSAGE-----' >> expect
1073
1072
test_expect_success GPG \
1074
1073
' creating a signed tag with rfc1991' '
1074
+ echo "rfc1991" >gpghome/gpg.conf &&
1075
1075
git tag -s -m "RFC1991 signed tag" rfc1991-signed-tag $commit &&
1076
1076
get_tag_msg rfc1991-signed-tag >actual &&
1077
1077
test_cmp expect actual
@@ -1085,18 +1085,21 @@ chmod +x fakeeditor
1085
1085
1086
1086
test_expect_success GPG \
1087
1087
' reediting a signed tag body omits signature' '
1088
+ echo "rfc1991" >gpghome/gpg.conf &&
1088
1089
echo "RFC1991 signed tag" >expect &&
1089
1090
GIT_EDITOR=./fakeeditor git tag -f -s rfc1991-signed-tag $commit &&
1090
1091
test_cmp expect actual
1091
1092
'
1092
1093
1093
1094
test_expect_success GPG \
1094
1095
' verifying rfc1991 signature' '
1096
+ echo "rfc1991" >gpghome/gpg.conf &&
1095
1097
git tag -v rfc1991-signed-tag
1096
1098
'
1097
1099
1098
1100
test_expect_success GPG \
1099
1101
' list tag with rfc1991 signature' '
1102
+ echo "rfc1991" >gpghome/gpg.conf &&
1100
1103
echo "rfc1991-signed-tag RFC1991 signed tag" >expect &&
1101
1104
git tag -l -n1 rfc1991-signed-tag >actual &&
1102
1105
test_cmp expect actual &&
0 commit comments