Re: t5310 broken under Mac OS
On 06/19/2018 07:35 PM, Eric Sunshine wrote: On Tue, Jun 19, 2018 at 1:33 PM Torsten Bögershausen wrote: expecting success: git repack -ad && git rev-list --use-bitmap-index --count --all >expect && bitmap=$(ls .git/objects/pack/*.bitmap) && test_when_finished "rm -f $bitmap" && head -c 512 <$bitmap >$bitmap.tmp && mv $bitmap.tmp $bitmap && git rev-list --use-bitmap-index --count --all >actual 2>stderr && test_cmp expect actual && test_i18ngrep corrupt stderr override r--r--r-- tb/staff for .git/objects/pack/pack-8886db3fce4f9657c1a43fee7d3ea4f2a4b5be2d.bitmap? (y/n [n]) not overwritten error: 'grep corrupt stderr' didn't find a match in: This is fixed by [1], isn't it? [1]: https://public-inbox.org/git/20180616191400.gb8...@sigill.intra.peff.net/ Most probably: yes. I just ran pu if the day (which is 15th of June) Thanks for a fast response, sorry for the noise
Re: t5310 broken under Mac OS
On Tue, Jun 19, 2018 at 1:33 PM Torsten Bögershausen wrote: > expecting success: > git repack -ad && > git rev-list --use-bitmap-index --count --all >expect && > bitmap=$(ls .git/objects/pack/*.bitmap) && > test_when_finished "rm -f $bitmap" && > head -c 512 <$bitmap >$bitmap.tmp && > mv $bitmap.tmp $bitmap && > git rev-list --use-bitmap-index --count --all >actual 2>stderr && > test_cmp expect actual && > test_i18ngrep corrupt stderr > > override r--r--r-- tb/staff for > .git/objects/pack/pack-8886db3fce4f9657c1a43fee7d3ea4f2a4b5be2d.bitmap? > (y/n [n]) not overwritten > error: 'grep corrupt stderr' didn't find a match in: This is fixed by [1], isn't it? [1]: https://public-inbox.org/git/20180616191400.gb8...@sigill.intra.peff.net/
t5310 broken under Mac OS
One test case fails here, but I am to tired to dig further. ok 42 - pack reuse respects --incremental expecting success: git repack -ad && git rev-list --use-bitmap-index --count --all >expect && bitmap=$(ls .git/objects/pack/*.bitmap) && test_when_finished "rm -f $bitmap" && head -c 512 <$bitmap >$bitmap.tmp && mv $bitmap.tmp $bitmap && git rev-list --use-bitmap-index --count --all >actual 2>stderr && test_cmp expect actual && test_i18ngrep corrupt stderr override r--r--r-- tb/staff for .git/objects/pack/pack-8886db3fce4f9657c1a43fee7d3ea4f2a4b5be2d.bitmap? (y/n [n]) not overwritten error: 'grep corrupt stderr' didn't find a match in: not ok 43 - truncated bitmap fails gracefully # # git repack -ad && # git rev-list --use-bitmap-index --count --all >expect && # bitmap=$(ls .git/objects/pack/*.bitmap) && # test_when_finished "rm -f $bitmap" && # head -c 512 <$bitmap >$bitmap.tmp && # mv $bitmap.tmp $bitmap && # git rev-list --use-bitmap-index --count --all >actual 2>stderr && # test_cmp expect actual && # test_i18ngrep corrupt stderr # # failed 1 among 43 test(s) 1..43