From: Johannes Sixt Date: Fri, 13 Jun 2014 13:42:47 GMT Subject: Re: [PATCHv2 4/6] t7510: exit for loop with test result Message-ID: <539AFFD7.6010908@viscovery.net> In-Reply-To: <539AFD3D.8090407@drmicha.warpmail.net> Am 6/13/2014 15:31, schrieb Michael J Gruber: > rewrite of the form > > a && > b && > test_must_fail c && > d || exit 1 > > hoping that will make things both readable (by avoiding !) and concise > (by avoiding repeated exits). Thanks! Please note that we use 'test_must_fail' only for git invocations, but we do write '!' in front of system commands that we expect to fail, e.g., '! grep'. -- Hannes