From: Junio C Hamano Date: Thu, 30 Aug 2018 17:38:21 GMT Subject: Re: [PATCH 2/5] t5303: test some corrupt deltas Message-ID: In-Reply-To: <20180830070932.GB15420@sigill.intra.peff.net> Jeff King writes: > +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.