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

[PATCH 0/2] hook tests: pre-push test style & test accurace

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Feb 18, 2022, 20:52 UTC
Message-ID
<cover-0.2-00000000000-20220218T204719Z-avarab@gmail.com>

A trivial topic to fix a blind spot in the test coverage for pre-push hooks, and to fix miscellaneous issues in that test while we're at it.

These patches have been on-list before as part of a much bigger topic submission. I opted to split these out to make the continuation of these larger hook topics easier to digest.

The last iteration was at [1] and [2]. As the range-diff to those patches below shows there's been no change since then.

1. https://lore.kernel.org/git/patch-v5-28.36-957691f0b6d-20210902T125111Z-avarab@gmail.com
2. https://lore.kernel.org/git/patch-v5-29.36-88fe2621549-20210902T125111Z-avarab@gmail.com
Ævar Arnfjörð Bjarmason (2):
  hook tests: test for exact "pre-push" hook input
  hook tests: use a modern style for "pre-push" tests
 t/t5571-pre-push-hook.sh | 94 ++++++++++++++++++++++------------------
 1 file changed, 53 insertions(+), 41 deletions(-)

Range-diff: 1: 957691f0b6d = 1: 7cf279205eb hook tests: test for exact "pre-push" hook input 2: 88fe2621549 = 2: 8035594be8b hook tests: use a modern style for "pre-push" tests

-- 
2.35.1.1031.g277d4562d2e
Next: Ævar Arnfjörð Bjarmason
Message 1 of 4 in “hook tests: pre-push test style & test accurace”
  1. 0/2 hook tests: pre-push test style & test accuraceÆvar Arnfjörð Bjarmason, Feb 18, 2022
  2. 1/2 hook tests: test for exact "pre-push" hook inputÆvar Arnfjörð Bjarmason, Feb 18, 2022
  3. 2/2 hook tests: use a modern style for "pre-push" testsÆvar Arnfjörð Bjarmason, Feb 18, 2022
  4. Taylor BlauFeb 19, 2022

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.