git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2 2/2] t/t6300: drop magic filtering

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 23, 2023, 16:14 UTC
Message-ID
<xmqqttspg2hh.fsf@gitster.g>
In-Reply-To
<ZOYHjwOFdFGjFm1W@five231003>
Kousik Sanagavarapu <five231003@gmail.com> writes:
Show 9 quoted lines
> On Wed, Aug 23, 2023 at 08:52:17AM +0200, Christian Hesse wrote:
>> From: Christian Hesse <mail@eworm.de>
>> 
>> Now that we ran a trustdb check forcibly it does no longer pollute the
>> output. Filtering is no longer required...
>
> s/forcibly/forcibly, 
>
> s/it does no longer pollute/it no longer pollutes
Thanks.  I've updated the patch locally to read like so:
----- >8 -----
From: Christian Hesse <mail@eworm.de>
Date: Tue, 22 Aug 2023 15:03:15 +0200
Subject: [PATCH] t/t6300: drop magic filtering

Now that we ran a trustdb check forcibly, it no longer pollutes the output, and filtering is no longer required.

Signed-off-by: Christian Hesse <mail@eworm.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 t/t6300-for-each-ref.sh | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
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 &&
-- 
2.42.0
Previous: Kousik SanagavarapuNext: Junio C Hamano
Message 11 of 13 in “Re: [PATCH 1/1] t6300: fix match with insecure memory”
  1. Christian HesseAug 21, 2023
  2. 1/1 t6300: fix match with insecure memoryChristian Hesse, Aug 21, 2023
  3. Kousik SanagavarapuAug 22, 2023
  4. Christian HesseAug 22, 2023
  5. Christian HesseAug 22, 2023
  6. 1/2 t/lib-gpg: forcibly run a trustdb updateChristian Hesse, Aug 22, 2023
  7. 2/2 t/t6300: drop magic filteringChristian Hesse, Aug 22, 2023
  8. Eric SunshineAug 22, 2023
  9. 2/2 t/t6300: drop magic filteringChristian Hesse, Aug 23, 2023
  10. Kousik SanagavarapuAug 23, 2023
  11. Junio C HamanoAug 23, 2023
  12. Junio C HamanoAug 23, 2023
  13. Junio C HamanoAug 22, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.