From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [OSSTEST PATCH 6/6] ts-logs-capture: Explicitly set xenctx capture filename Date: Fri, 3 Jul 2015 12:49:31 +0100 Message-ID: <1435924171-20789-6-git-send-email-ian.jackson@eu.citrix.com> References: <21910.28952.574765.545182@mariner.uk.xensource.com> <1435924171-20789-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZAzTT-0007r3-EM for xen-devel@lists.xenproject.org; Fri, 03 Jul 2015 11:49:43 +0000 In-Reply-To: <1435924171-20789-1-git-send-email-ian.jackson@eu.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: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org Now that the command contains PATH, the autogenerated filename is very ugly. Signed-off-by: Ian Jackson --- v2: New patch in this version of the series. --- ts-logs-capture | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ts-logs-capture b/ts-logs-capture index b2caa77..0081372 100755 --- a/ts-logs-capture +++ b/ts-logs-capture @@ -214,10 +214,11 @@ sub fetch_xenctx_guest ($) { $kernpath !~ m,/vmlinuz-, ? die "$kernpath ?" : "-s $`/System.map-$'"; foreach my $iter (0..1) { + my $dfn = "$ho->{Name}-xenctx-$gho->{Name},vcpu$vcpu,i$iter"; try_cmd_output_save( 'PATH=/usr/local/lib/xen/bin:/usr/lib/xen/bin:$PATH; '. - "xenctx $sysmaparg $gho->{Domid} $vcpu" - ); + "xenctx $sysmaparg $gho->{Domid} $vcpu", + $dfn); } } } -- 1.7.10.4