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

Re: Tests in Cygwin

From
Johannes Sixt <j.sixt@viscovery.net>
Date
May 8, 2009, 06:03 UTC
Message-ID
<4A03CB3A.4090108@viscovery.net>
In-Reply-To
<7viqkccvhb.fsf@alter.siamese.dyndns.org>
Junio C Hamano schrieb:
Show 11 quoted lines
> Don Slutz <Don.Slutz@SierraAtlantic.com> writes:
> 
>> test_have_prereq () {
>> -       save_IFS=$IFS
>> -       IFS=+
>> -       set -- $*
>> -       IFS=$save_IFS
>> -       for prerequisite
>> +       for prerequisite in $(echo $*)
> 
> Ah, that's clever.

Well, it is an extra fork() that could easily be avoided by modifying the call site in test_skip.

-- Hannes
Previous: Junio C HamanoNext: Jeff King
Message 8 of 16 in “Tests in Cygwin”
  1. Hannu KoivistoApr 17, 2009
  2. Don SlutzMay 6, 2009
  3. Junio C HamanoMay 6, 2009
  4. Johannes SixtMay 7, 2009
  5. Don SlutzMay 7, 2009
  6. Don SlutzMay 7, 2009
  7. Junio C HamanoMay 8, 2009
  8. Johannes SixtMay 8, 2009
  9. Jeff KingMay 8, 2009
  10. Johannes SixtMay 8, 2009
  11. Junio C HamanoMay 8, 2009
  12. Alex RiesenMay 8, 2009
  13. Don SlutzMay 8, 2009
  14. Johannes SixtMay 8, 2009
  15. Alex RiesenMay 8, 2009
  16. Junio C HamanoMay 8, 2009

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.