Re: [PATCH 2/3] t: add "test-tool genbytes" to avoid slow tr(1) on macOS
Am 08.11.26 um 13:24 schrieb Kristofer Karlsson:
Show 6 quoted lines
> - test-tool genzeros 2147483649 | tr "\000" "1" >expect &&
> + printf 000000000%02147483640d 0 >expect &&
>
> I tried this out and it works on Linux but fails on macOS[1]. What
> happens is that printf only outputs the nine literal zeros
> ("000000000") there, and silently ignores the very large padding.> [1] https://github.com/gitgitgadget/git/actions/runs/42475956442/job/128717309586