Re: [PATCH 1/2] t9400-git-cvsserver-server: don't rely on the output of 'test_cmp'
On Thu, Mar 8, 2018 at 11:01 PM, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 9 quoted lines
> On Thu, Mar 8, 2018 at 4:49 PM, SZEDER Gábor <szeder.dev@gmail.com> wrote:
>> On Thu, Mar 8, 2018 at 7:51 PM, Eric Sunshine <sunshine@sunshineco.com> wrote:
>>> An alternative approach used elsewhere in the test suite[1] would be
>>> simply to 'exit' if test_cmp fails:
>>>
>>> for i in merge no-lf empty really-empty; do
>>> GIT_CONFIG="$git_config" cvs update -p "$i" >$i.out
>>> test_cmp $i.out ../$i || exit 1
>>> done &&
> Sorry for the confusion. I meant "return 1" as used elsewhere in the
> test suite[1].
Oh, I see, that's indeed better. Thanks.