@@ -126,6 +126,7 @@ test_expect_success GPG 'message for merging local tag signed by good key' '
126
126
git fetch . signed-good-tag &&
127
127
git fmt-merge-msg <.git/FETCH_HEAD >actual &&
128
128
grep "^Merge tag ${apos}signed-good-tag${apos}" actual &&
129
+ grep "^signed-tag-msg" actual &&
129
130
grep "^# gpg: Signature made" actual &&
130
131
grep "^# gpg: Good signature from" actual
131
132
'
@@ -135,6 +136,7 @@ test_expect_success GPG 'message for merging local tag signed by unknown key' '
135
136
git fetch . signed-good-tag &&
136
137
GNUPGHOME=. git fmt-merge-msg <.git/FETCH_HEAD >actual &&
137
138
grep "^Merge tag ${apos}signed-good-tag${apos}" actual &&
139
+ grep "^signed-tag-msg" actual &&
138
140
grep "^# gpg: Signature made" actual &&
139
141
grep -E "^# gpg: Can${apos}t check signature: (public key not found|No public key)" actual
140
142
'
@@ -145,6 +147,7 @@ test_expect_success GPGSSH 'message for merging local tag signed by good ssh key
145
147
git fetch . signed-good-ssh-tag &&
146
148
git fmt-merge-msg <.git/FETCH_HEAD >actual &&
147
149
grep "^Merge tag ${apos}signed-good-ssh-tag${apos}" actual &&
150
+ grep "^signed-ssh-tag-msg" actual &&
148
151
grep "${GPGSSH_GOOD_SIGNATURE_TRUSTED}" actual &&
149
152
! grep "${GPGSSH_BAD_SIGNATURE}" actual
150
153
'
@@ -155,6 +158,7 @@ test_expect_success GPGSSH 'message for merging local tag signed by unknown ssh
155
158
git fetch . signed-untrusted-ssh-tag &&
156
159
git fmt-merge-msg <.git/FETCH_HEAD >actual &&
157
160
grep "^Merge tag ${apos}signed-untrusted-ssh-tag${apos}" actual &&
161
+ grep "^signed-ssh-tag-msg-untrusted" actual &&
158
162
grep "${GPGSSH_GOOD_SIGNATURE_UNTRUSTED}" actual &&
159
163
! grep "${GPGSSH_BAD_SIGNATURE}" actual &&
160
164
grep "${GPGSSH_KEY_NOT_TRUSTED}" actual
@@ -166,6 +170,7 @@ test_expect_success GPGSSH,GPGSSH_VERIFYTIME 'message for merging local tag sign
166
170
git fetch . expired-signed &&
167
171
git fmt-merge-msg <.git/FETCH_HEAD >actual &&
168
172
grep "^Merge tag ${apos}expired-signed${apos}" actual &&
173
+ grep "^expired-signed" actual &&
169
174
! grep "${GPGSSH_GOOD_SIGNATURE_TRUSTED}" actual
170
175
'
171
176
@@ -175,6 +180,7 @@ test_expect_success GPGSSH,GPGSSH_VERIFYTIME 'message for merging local tag sign
175
180
git fetch . notyetvalid-signed &&
176
181
git fmt-merge-msg <.git/FETCH_HEAD >actual &&
177
182
grep "^Merge tag ${apos}notyetvalid-signed${apos}" actual &&
183
+ grep "^notyetvalid-signed" actual &&
178
184
! grep "${GPGSSH_GOOD_SIGNATURE_TRUSTED}" actual
179
185
'
180
186
@@ -184,6 +190,7 @@ test_expect_success GPGSSH,GPGSSH_VERIFYTIME 'message for merging local tag sign
184
190
git fetch . timeboxedvalid-signed &&
185
191
git fmt-merge-msg <.git/FETCH_HEAD >actual &&
186
192
grep "^Merge tag ${apos}timeboxedvalid-signed${apos}" actual &&
193
+ grep "^timeboxedvalid-signed" actual &&
187
194
grep "${GPGSSH_GOOD_SIGNATURE_TRUSTED}" actual &&
188
195
! grep "${GPGSSH_BAD_SIGNATURE}" actual
189
196
'
@@ -194,6 +201,7 @@ test_expect_success GPGSSH,GPGSSH_VERIFYTIME 'message for merging local tag sign
194
201
git fetch . timeboxedinvalid-signed &&
195
202
git fmt-merge-msg <.git/FETCH_HEAD >actual &&
196
203
grep "^Merge tag ${apos}timeboxedinvalid-signed${apos}" actual &&
204
+ grep "^timeboxedinvalid-signed" actual &&
197
205
! grep "${GPGSSH_GOOD_SIGNATURE_TRUSTED}" actual
198
206
'
199
207
0 commit comments