From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [OSSTEST PATCH 2/4] ts-logs-capture: Find xenctx in /usr/local as well Date: Thu, 2 Jul 2015 18:11:05 +0100 Message-ID: <1435857067-10704-3-git-send-email-ian.jackson@eu.citrix.com> References: <1435857067-10704-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 1ZAi1M-0004j9-Hg for xen-devel@lists.xenproject.org; Thu, 02 Jul 2015 17:11:32 +0000 In-Reply-To: <1435857067-10704-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 xenctx is now in /usr/local/lib/xen/bin/xenctx. ^^^^^^ Find it by setting PATH in the shell command. Signed-off-by: Ian Jackson --- ts-logs-capture | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ts-logs-capture b/ts-logs-capture index 2498416..13795e8 100755 --- a/ts-logs-capture +++ b/ts-logs-capture @@ -210,8 +210,10 @@ sub fetch_logs_guest ($) { my $sysmaparg = !defined $kernpath ? '' : $kernpath !~ m,/vmlinuz-, ? die "$kernpath ?" : "-s $`/System.map-$'"; - try_cmd_output_save("/usr/lib/xen/bin/xenctx ".$sysmaparg. - " $gho->{Domid} $vcpu"); + try_cmd_output_save( + 'PATH=/usr/local/lib/xen/bin:/usr/lib/xen/bin:$PATH; '. + "xenctx $sysmaparg $gho->{Domid} $vcpu" + ); } } -- 1.7.10.4