Re: [PATCH 3/6] t1006 (cat-file): use test_cmp
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Dec 8, 2011, 13:41 UTC
- Message-ID
- <vpqty5bp4di.fsf@bauges.imag.fr>
- In-Reply-To
- <CALkWK0=NFxAqmOkObqjVmBQ-TQ=hZhWi=ZScMEGibvS2Pu+XqQ@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 18 quoted lines
> Hi Matthieu, > > Matthieu Moy wrote: >> Ramkumar Ramachandra <artagnon@gmail.com> writes: >> >>> test_expect_success "--batch-check with multiple sha1s gives correct format" ' >>> - test "$batch_check_output" = \ >>> - "$(echo_without_newline "$batch_check_input" | git cat-file >>> --batch-check)" >>> + echo "$batch_check_output" >expect && >>> + echo_without_newline "$batch_check_input" | git cat-file >>> + --batch-check >actual && >>> + test_cmp expect actual >>> ' >> >> Whitespace damage? > > Odd. Email client issue?
It seems so. Weird, Gnus usually doesn't do this sort of things to me. Sorry for the noise.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/