From: Ian Jackson Subject: Re: [OSSTEST PATCH 08/13] Reporting: Break out report_blessingscond Date: Tue, 30 Jun 2015 10:54:15 +0100 Message-ID: <21906.26439.856510.279474@mariner.uk.xensource.com> References: <1435598089-21647-1-git-send-email-ian.jackson@eu.citrix.com> <1435598089-21647-9-git-send-email-ian.jackson@eu.citrix.com> <1435655479.21469.36.camel@citrix.com> <21906.25056.514009.551103@mariner.uk.xensource.com> <1435657465.21469.51.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z9sFC-0006y4-HN for xen-devel@lists.xenproject.org; Tue, 30 Jun 2015 09:54:22 +0000 In-Reply-To: <1435657465.21469.51.camel@citrix.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 Campbell Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH 08/13] Reporting: Break out report_blessingscond"): > On Tue, 2015-06-30 at 10:31 +0100, Ian Jackson wrote: > > IMO `-' is valid in blessings. Consider `commission-oseleta'. > > I'm being very confused -- I was thinking of flight names, not blessing > names. Ah. Yes, I think `-' isn't legal in flight names. Even that letters are permitted is a concession :-). > I've just done "./standalone -f xen-unstable xen-unstable" and it seems > to have worked but: > > $ ./mg-show-flight-runvars xen-unstable > Died at ./mg-show-flight-runvars line 42. > > Which is from: > die unless @ARGV==1 && $ARGV[0] =~ m/^\w+$/; > > I also notice that standalone-generate-flight-runvars is laundering out > the - too. Perhaps having a central regexp for flight names would be a good thing, yes, but I don't think it's relevant for this patch. I suggest we cross that bridge next time we have to introduce another ad-hoc check for a flight name. Ian.