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

Re: [PATCH v4 1/1] t2000: modernize overall structure and path checks

From
Tian Yuchen <cat@malon.dev>
Date
Apr 6, 2026, 17:36 UTC
Message-ID
<9639df15-8498-4dd0-8ea1-6ebaf4533476@malon.dev>
In-Reply-To
<CAOLa=ZTuk-33xz4RQJDv-nyK-MqFzLWHM7zdmBBGnXjYiJBsSQ@mail.gmail.com>
On 4/6/26 06:04, Karthik Nayak wrote:
Show 5 quoted lines
> 
> Shouldn't all the tests above (since 'mkdir path2') be a single test
> block? First we setup the data, validate the data, the previous test
> runs 'git-checkout-index' and finally here we're verifying the endstate
> here. I think this should all fit into one test block.

That makes sense. I didn’t mention this earlier because I hadn’t noticed that the patch title had changed from 't2000: modernise path checks with test_path_is_* helpers' to 't2000: modernise overall structure'. If this is a overall refactor, then it would be worth revising this outdated test structure as well ;)

Show 7 quoted lines
> 
> Thanks,
> Karthik
> 
>>   test_done
>> --
>> 2.43.0
Regards, Yuchen
Previous: Karthik NayakNext: Zakariyah Ali
Message 10 of 17 in “Github Patch”
  1. Zakariyah AliMar 26, 2026
  2. PabloMar 26, 2026
  3. t2000: modernize path checks with test_path_is_* helpersZakariyah Ali, Mar 26, 2026
  4. Junio C HamanoMar 26, 2026
  5. [GSoC][PATCH v3] t2000: modernise overall structureZakariyah Ali, Mar 27, 2026
  6. Zakariyah AliMar 30, 2026
  7. Tian YuchenApr 1, 2026
  8. 1/1 t2000: modernize overall structure and path checksZakariyah Ali, Apr 5, 2026
  9. Karthik NayakApr 5, 2026
  10. Tian YuchenApr 6, 2026
  11. t2000: modernize overall structure and path checksZakariyah Ali, Apr 7, 2026
  12. Junio C HamanoApr 7, 2026
  13. Junio C HamanoApr 7, 2026
  14. t2000: consolidate second scenario into a single test blockZakariyah Ali, Apr 29, 2026
  15. Zakariyah AliMay 5, 2026
  16. Junio C HamanoMay 12, 2026
  17. Zakariyah AliMay 12, 2026

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.