Re: Having trouble serializing test with Automake parallel test harness

"Zack Weinberg" <[email protected]> Thu, 05 Mar 2026 15:59:41 -0500
Newsgroups gmane.comp.printing.groff.general,gmane.comp.sysutils.automake.general
Message-ID <[email protected]>
On Thu, Mar 5, 2026, at 10:58 AM, G. Branden Robinson wrote:
> I had to use a nasty hack to force serialization of two regression tests
> that both can cause core dumps, and so can race with each other in the
> TOCTTOU window on the existence of a "core" file.

Are the core dumps necessary for the test? If not, I would suggest wrapping each one with a shell script that does `ulimit -c 0` and then execs the main test program.

zw