Re: git: c5961b6fcfe0 - main - yes: fix argv test race between fork and exec

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Mon, 13 Apr 2026 14:31:36 UTC
Gleb Smirnoff <glebius@freebsd.org> writes:
> This kind of fix doesn't make it 100% flakyless, but adds a 100% guaranteed 0.1
> second test execution time overhead.  In general, all sh(1) based tests that
> create a background process should have a wait cycle with `sleep 0.01` in it.

“Le mieux est l'ennemi du bien“.  This works well enough, and if you're
worried about CI runtimes I suggest you look into parallelizing kyua
instead.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org