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

Re: [GSoC PATCH v3] t9200: replace test -f/-d with modern path helpers

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 11, 2026, 20:31 UTC
Message-ID
<xmqqtsumm7kf.fsf@gitster.g>
In-Reply-To
<CAN5EUNSmZmdnDzpAKAh8fZRex3--tnKaWZZSQ+o5WATc6sLy_Q@mail.gmail.com>
Pablo <pabloosabaterr@gmail.com> writes:
Show 9 quoted lines
>> Yeah, but if we are going to do so eventually, it would be pointless
>> to use the path helper in that "set up CVS environment and make sure
>> we got a sensible directory structure" check, no?  Upon failure, we
>> will hit test_done that loudly says that their CVS installation is
>> not working as we expect.
>
> Yeah, the new patch will change it back to test -d because it ends up
> in a if condition instead of an assertion.
> Would you prefer to drop that hunk from my v3 or should I send a v4 ?

Yup, let me mark the "cvs setup failure" one ready for 'next'. The other hunk that updates "test -[efd]" can become a separate patch.

Thanks.
Previous: PabloNext: Pablo Sabater
Message 14 of 16 in “t9200: use helpers to replace test -f <path> and test -d <path>”
  1. t9200: use helpers to replace test -f <path> and test -d <path>Pablo Sabater, Mar 9, 2026
  2. Junio C HamanoMar 9, 2026
  3. PabloMar 9, 2026
  4. t9200: replace test -f/-d with modern path helpersPablo Sabater, Mar 9, 2026
  5. Junio C HamanoMar 9, 2026
  6. PabloMar 9, 2026
  7. t9200: replace test -f/-d with modern path helpersPablo Sabater, Mar 9, 2026
  8. Junio C HamanoMar 9, 2026
  9. PabloMar 11, 2026
  10. Junio C HamanoMar 11, 2026
  11. PabloMar 11, 2026
  12. Junio C HamanoMar 11, 2026
  13. PabloMar 11, 2026
  14. Junio C HamanoMar 11, 2026
  15. t9200: replace test -f with modern path helperPablo Sabater, Mar 12, 2026
  16. Junio C HamanoMar 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.