From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH 02/10] Allow hyphen in host names when parsing properties Date: Wed, 4 Sep 2013 17:58:15 +0100 Message-ID: <1378313903-10539-2-git-send-email-ian.campbell@citrix.com> References: <1378313870.17510.172.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1378313870.17510.172.camel@kazak.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@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org The Calxeda midway nodes are e.g. marilith-n4 marilith-n5. --- Osstest/TestSupport.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index c158b7c..8330aef 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -695,7 +695,7 @@ sub selecthost ($) { # Finally, we override any host-specific properties from the config foreach my $k (keys %c) { - next unless $k =~ m/^HostProp_([a-z0-9]+)_(.*)$/; + next unless $k =~ m/^HostProp_([-a-z0-9]+)_(.*)$/; next unless $1 eq $name; $setprop->($2, $c{$k}); } -- 1.7.10.4