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

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

From
Christian Couder <christian.couder@gmail.com>
Date
Jun 12, 2019, 17:09 UTC
Message-ID
<CAP8UFD1Cn15P4KeuPbK1ZOcZuWHNRq690PtdcvQSWnSc_T+Beg@mail.gmail.com>
In-Reply-To
<20190611101250.GE4012@szeder.dev>
On Tue, Jun 11, 2019 at 12:12 PM SZEDER Gábor <szeder.dev@gmail.com> wrote:
Show 19 quoted lines
>
> On Tue, Jun 11, 2019 at 10:23:24AM +0200, Christian Couder wrote:
> > 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 ;)
Aargh! I will resend soon with a fix.

It will actually have everything that Junio put in 7f2a91c1a6 (SQUASH??? sh style, 2019-06-11) which is in pu.

Thanks, Christian.

Previous: SZEDER GáborNext: Christian Couder
Message 5 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.