diff mbox series

[2/2] t/t6300: drop magic filtering

Message ID 20230822130315.71259-2-list@eworm.de (mailing list archive)
State Accepted
Commit d0fc552bfcc20dcb001f78e83b0138ea4374a8c1
Headers show
Series [1/2] t/lib-gpg: forcibly run a trustdb update | expand

Commit Message

Christian Hesse Aug. 22, 2023, 1:03 p.m. UTC
From: Christian Hesse <mail@eworm.de>

Now that we ran a trustdb check forcibly it does no longer pullute the
output. Filtering is no longer required...

Signed-off-by: Christian Hesse <mail@eworm.de>
---
 t/t6300-for-each-ref.sh | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Eric Sunshine Aug. 22, 2023, 4:43 p.m. UTC | #1
On Tue, Aug 22, 2023 at 9:03 AM Christian Hesse <list@eworm.de> wrote:
> Now that we ran a trustdb check forcibly it does no longer pullute the
> output. Filtering is no longer required...

s/pullute/pollute/

> Signed-off-by: Christian Hesse <mail@eworm.de>
Junio C Hamano Aug. 23, 2023, 4:02 p.m. UTC | #2
Eric Sunshine <sunshine@sunshineco.com> writes:

> On Tue, Aug 22, 2023 at 9:03 AM Christian Hesse <list@eworm.de> wrote:
>> Now that we ran a trustdb check forcibly it does no longer pullute the
>> output. Filtering is no longer required...
>
> s/pullute/pollute/
>
>> Signed-off-by: Christian Hesse <mail@eworm.de>

Thanks.  Applied the typofix (with removal of the extra double-dots)
while queuing.
diff mbox series

Patch

diff --git a/t/t6300-for-each-ref.sh b/t/t6300-for-each-ref.sh
index 5b434ab451..aa3c7c03c4 100755
--- a/t/t6300-for-each-ref.sh
+++ b/t/t6300-for-each-ref.sh
@@ -1763,10 +1763,7 @@  test_expect_success GPGSSH 'setup for signature atom using ssh' '
 '
 
 test_expect_success GPG2 'bare signature atom' '
-	git verify-commit first-signed 2>out.raw &&
-	grep -Ev "checking the trustdb|PGP trust model" out.raw >out &&
-	head -3 out >expect &&
-	tail -1 out >>expect &&
+	git verify-commit first-signed 2>expect &&
 	echo  >>expect &&
 	git for-each-ref refs/tags/first-signed \
 		--format="%(signature)" >actual &&