Re: [PATCH] t6026-merge-attr: don't fail if sleep exits early
- From
Jeff King <peff@peff.net>
- Date
- Nov 9, 2016, 15:31 UTC
- Message-ID
- <20161109153128.aqm2lgdntdlycnaq@sigill.intra.peff.net>
- In-Reply-To
- <mvmzil8btzb.fsf@hawking.suse.de>
On Wed, Nov 09, 2016 at 03:36:40PM +0100, Andreas Schwab wrote:
Show 7 quoted lines
> On Nov 09 2016, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > > The reason why we do not ignore kill errors is that we want to make sure > > that the script *actually ran*. Otherwise, the thing we need to test here > > does not necessarily get tested. > > That can be tested by looking for the pid file.
I agree that makes the intent a lot more obvious. Having a necessary condition of the test stuffed into a test_when_finished block seems counter-intuitive.
-Peff