From: Jeff King Date: Thu, 10 Nov 2016 23:03:56 GMT Subject: Re: [PATCH v2] t6026-merge-attr: don't fail if sleep exits early Message-ID: <20161110230356.3is53qysegv637hf@sigill.intra.peff.net> In-Reply-To: On Thu, Nov 10, 2016 at 02:55:06PM -0800, Junio C Hamano wrote: > If we ensure that the process is still running, then such a check is > a good belt-and-suspenders way to catch a breakage in the mechanism > we choose to ensure it. So probably we can require that the kill in > the "when finished" part to actually send a signal to a process that > is still running. > > Is there an equivalent to pause(2) available to shell scripts? I > really hate a single "sleep 3600" or anything with a magic number. I think it is usually spelled "read