From: Johannes Sixt Date: Sun, 08 Nov 2026 16:34:02 GMT Subject: Re: [PATCH 2/3] t: add "test-tool genbytes" to avoid slow tr(1) on macOS Message-ID: In-Reply-To: Am 08.11.26 um 13:24 schrieb Kristofer Karlsson: > - 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. Fair enough. > [1] https://github.com/gitgitgadget/git/actions/runs/42475956442/job/128717309586 -- Hannes