Re: [PATCH 2/5] t5303: test some corrupt deltas
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 30, 2018, 17:38 UTC
- Message-ID
- <xmqq8t4n69gy.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20180830070932.GB15420@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> +test_expect_success \ > + 'apply delta with too many copied bytes' \ > + 'printf "\5\1\221\0\2" > too_big_copy && > + echo base >base && > + test_must_fail test-tool delta -p base too_big_copy /dev/null'
Would "echo base >base" give us 5-byte long base even on Windows? Or the test does not care if it is either "base\n" or "base\r\n"?
Just double-checking.