Re: [RFC PATCH 3/3] test-lib: add the '--stress' option to run a test repeatedly under load
From: Junio C Hamano <hidden> Date: 2018-12-06 06:42:00
Jeff King [off-list ref] writes:
Each "wait" will try to collect all processes, but may be interrupted by
a signal. So the correct number is actually "1 plus the number of times
the user hits ^C".
Yeah and that is not bounded. It is OK not to catch multiple ^C
that races with what we do, so having ane extra wait in the clean-up
procedure after receiving a signal like you suggested would be both
good enough and the cleanest solution, I think.
Thanks.