From: Ian Campbell Subject: Re: [OSSTEST PATCH 7/9] standalone-generate-dump-flight-runvars: New utility Date: Mon, 30 Jun 2014 11:07:31 +0100 Message-ID: <1404122851.5000.36.camel@kazak.uk.xensource.com> References: <1403888302-30822-1-git-send-email-ian.jackson@eu.citrix.com> <1403888302-30822-8-git-send-email-ian.jackson@eu.citrix.com> <1403893975.1829.81.camel@dagon.hellion.org.uk> <21425.13560.121933.681618@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X1YUp-0008O5-JT for xen-devel@lists.xenproject.org; Mon, 30 Jun 2014 10:07:35 +0000 In-Reply-To: <21425.13560.121933.681618@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Mon, 2014-06-30 at 10:59 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [OSSTEST PATCH 7/9] standalone-generate-dump-flight-runvars: New utility"): > > On Fri, 2014-06-27 at 17:58 +0100, Ian Jackson wrote: > > > + DAILY_BRANCH_POSTMAKE_HOOK='exit 0' \ > > > > standalone make-flight sets DAILY_BRANCH_PREEXEC_HOOK, I think with the > > same intent. Your one exits earlier but I can't think why we wouldn't > > want that to be the default > > Well, it generates half of the prospective email. I assumed you'd > left that in deliberately. If you want to change that, that's fine by > me (and I should add a patch to my series to do so). I just didn't fully understand the flow of cr-daily-branch at that point. I don't think half the prospective email is a useful thing to have in standalone mode, except insofar as it is useful to test that code itself. > > > + ./standalone make-flight -f $flight $branch >$log 2>&1 & > > > + procs+=" $branch=$!" > > > > Don't some branches have things in them which aren't valid in shell > > variable names? e.g. "-" and ".". > > It's not a variable setting; it's just a convenient syntax to be > picked apart by "perproc". Ah, I somehow imagined up an eval in there somewhere, sorry. > (If the script had the bug you suppose > it wouldn't have worked at all...) I wasn't sure if you'd only run it branches which happened to not have - in them (e.g. rumpkernels), if not than than I was indeed wondering how it worked for you... Ian.