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

Re: [PATCH v2 2/3] Make test t3700-add.sh more robust

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 29, 2016, 22:03 UTC
Message-ID
<xmqq1t2cm79c.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<579bc6ca.3f2601c7.bm001@wupperonline.de>
Ingo Brückl <ib@wupperonline.de> writes:
> Subject: Re: [PATCH v2 2/3] Make test t3700-add.sh more robust

Please check output from "git shortlog --no-merges -100" to see how your titles play well with others. We typically prefix the title with a specific area, a colon, and a sentence that does not begin in a capital letter and does not end with a full-stop.

Show 5 quoted lines
> Don't rely on chmod to work on the underlying platform (although it
> wouldn't harm the result of the '--chmod=-x' test). Directly check the
> result of the --chmod option.
>
> Add a test_mode_in_index helper function in order to check for success.

Hmph, I do not immediately see the point of having the helper in test-lib-functions.sh, though. This helper looks more or less specific to this test script.

In any case, I think addition of the "test_mode_in_index" helper and conversion from case/esac to the helper should be a separate patch from what this patch wants to do, which is to merge two more-or-less redundant tests into one.

Thanks.
Previous: Ingo Brückl
Message 2 of 2 in “Make test t3700-add.sh more robust”
  1. 2/3 Make test t3700-add.sh more robustIngo Brückl, Jul 29, 2016
  2. Junio C HamanoJul 29, 2016

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.