Re: no-xmailer tests fail under Mac OS
- From
Luis Henriques <henrix@camandro.org>
- Date
- Dec 11, 2014, 22:35 UTC
- Message-ID
- <87h9x124s9.fsf@camandro.org>
- In-Reply-To
- <20141211221339.GA9478@peff.net>
Jeff King <peff@peff.net> writes:
Show 28 quoted lines
> On Thu, Dec 11, 2014 at 02:11:04PM -0800, Junio C Hamano wrote:
>
>> Jeff King <peff@peff.net> writes:
>>
>> > On Fri, Dec 05, 2014 at 11:07:37PM -0800, Michael Blume wrote:
>> >
>> >> > Ah, right, we might be looking for 0 sometimes. The right way to do it
>> >> > without destroying the &&-chaining is:
>> >> >
>> >> > { grep ^X-Mailer: out || true } &&
>> >> > test_line_count = $expected mailer
>> >>
>> >> Hmm, it doesn't look like that helper is &&-chained though? So it
>> >> seems like we could just do without the &&
>> >
>> > You're right, but that is IMHO a bug. We would not notice if send-email
>> > or format-patch barfed, and we are expecting to find no X-Mailer (we
>> > wouldn't, but for the wrong reason).
>>
>> Let me patch this up further by amending the SQUASH??? at the tip.
>>
>> t/t9001-send-email.sh | 11 +++++------
>> 1 file changed, 5 insertions(+), 6 deletions(-)
>> [...]
>
> Yeah, looks good to me.
>
> -PeffSame here. Thanks a lot for fixing this.
Cheers, -- Luís