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

Re: [PATCH v2 2/3] t: add t0016-oidmap.sh

From
SZEDER Gábor <szeder.dev@gmail.com>
Date
Jun 11, 2019, 10:12 UTC
Message-ID
<20190611101250.GE4012@szeder.dev>
In-Reply-To
<20190611082325.28878-3-chriscool@tuxfamily.org>
On Tue, Jun 11, 2019 at 10:23:24AM +0200, Christian Couder wrote:
Show 15 quoted lines
> diff --git a/t/t0016-oidmap.sh b/t/t0016-oidmap.sh
> new file mode 100755
> index 0000000000..cbd2cb71d6
> --- /dev/null
> +++ b/t/t0016-oidmap.sh
> @@ -0,0 +1,100 @@
> +#!/bin/sh
> +
> +test_description='test oidmap'
> +. ./test-lib.sh
> +
> +# This purposefully is very similar to t0011-hashmap.sh
> +
> +test_oidmap() {
> +	echo "$1" | test-tool oidmap $3 > actual &&
Style nit: space between redirection op and filename ;)
Previous: Christian CouderNext: Christian Couder
Message 4 of 7 in “Test oidmap”
  1. 0/3 Test oidmapChristian Couder, Jun 11, 2019
  2. 1/3 t/helper: add test-oidmap.cChristian Couder, Jun 11, 2019
  3. 2/3 t: add t0016-oidmap.shChristian Couder, Jun 11, 2019
  4. SZEDER GáborJun 11, 2019
  5. Christian CouderJun 12, 2019
  6. 3/3 oidmap: use sha1hash() instead of static hash() functionChristian Couder, Jun 11, 2019
  7. SZEDER GáborJun 11, 2019

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.