Re: [PATCH 1/2] sha1-array: add test-sha1-array and basic tests

2014-10-01 Thread Jeff King
On Wed, Oct 01, 2014 at 10:11:04AM -0400, Eric Sunshine wrote: > > +echo20() { > > + prefix="$1" > > + shift > > + while test $# -gt 0 > > + do > > + echo "$prefix$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1" > > Each caller of echo20() manually includes a space

Re: [PATCH 1/2] sha1-array: add test-sha1-array and basic tests

2014-10-01 Thread René Scharfe
Am 01.10.2014 um 16:11 schrieb Eric Sunshine: On Wed, Oct 1, 2014 at 5:40 AM, René Scharfe wrote: Signed-off-by: Rene Scharfe --- diff --git a/t/t0064-sha1-array.sh b/t/t0064-sha1-array.sh new file mode 100755 index 000..bd68789 --- /dev/null +++ b/t/t0064-sha1-array.sh @@ -0,0 +1,64 @@ +#

Re: [PATCH 1/2] sha1-array: add test-sha1-array and basic tests

2014-10-01 Thread Eric Sunshine
On Wed, Oct 1, 2014 at 5:40 AM, René Scharfe wrote: > Signed-off-by: Rene Scharfe > --- > diff --git a/t/t0064-sha1-array.sh b/t/t0064-sha1-array.sh > new file mode 100755 > index 000..bd68789 > --- /dev/null > +++ b/t/t0064-sha1-array.sh > @@ -0,0 +1,64 @@ > +#!/bin/sh > + > +test_descriptio

[PATCH 1/2] sha1-array: add test-sha1-array and basic tests

2014-10-01 Thread René Scharfe
Signed-off-by: Rene Scharfe --- .gitignore| 1 + Makefile | 1 + t/t0064-sha1-array.sh | 64 +++ test-sha1-array.c | 34 +++ 4 files changed, 100 insertions(+) create mode 100755 t/t0064-sha1-a