{"thread":{"id":"60140","subject":"[PATCH 1/1] t6300: fix match with insecure memory","startedAt":"2023-08-21T20:14:04Z","lastAt":"2023-08-21T20:14:04Z","messageCount":1,"participants":["Christian Hesse"],"isPatch":true,"patchVersion":1,"patchTotal":1},"messages":[{"id":"480860","messageId":"20230821200645.36796-1-list@eworm.de","threadId":"60140","inReplyTo":null,"subject":"[PATCH 1/1] t6300: fix match with insecure memory","fromName":"Christian Hesse","fromEmail":"list@eworm.de","sentAt":"2023-08-21T20:06:45Z","receivedAt":"2023-08-21T20:14:04Z","isPatch":true,"sender":{"key":"list@eworm.de","avatar":"https://gravatar.com/avatar/ec9a78d63ae8bf8efdc06867449c0a3e763066c462c2c2f9f103ac4675109e14?d=mp&s=160"},"body":"From: Christian Hesse <mail@eworm.de>\n\nRunning the tests in a build environment makes gnupg print a warning:\n\ngpg: Warning: using insecure memory!\n\nThis warning breaks the match, as `head` misses one line. Let's strip\nthe line, make `head` return what is expected and fix the match.\n\nSigned-off-by: Christian Hesse <mail@eworm.de>\n---\n t/t6300-for-each-ref.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/t/t6300-for-each-ref.sh b/t/t6300-for-each-ref.sh\nindex 5b434ab451..488e358c8c 100755\n--- a/t/t6300-for-each-ref.sh\n+++ b/t/t6300-for-each-ref.sh\n@@ -1764,7 +1764,7 @@ test_expect_success GPGSSH 'setup for signature atom using ssh' '\n \n test_expect_success GPG2 'bare signature atom' '\n \tgit verify-commit first-signed 2>out.raw &&\n-\tgrep -Ev \"checking the trustdb|PGP trust model\" out.raw >out &&\n+\tgrep -Ev \"checking the trustdb|PGP trust model|using insecure memory\" out.raw >out &&\n \thead -3 out >expect &&\n \ttail -1 out >>expect &&\n \techo  >>expect &&\n-- \n2.41.0\n\n"}]}