From: Ian Jackson Subject: Re: xl: libxl_domain_info: getting domain info list: Bad address Date: Fri, 11 Sep 2015 16:34:19 +0100 Message-ID: <22002.62587.123417.80222@mariner.uk.xensource.com> References: <55F1B8D2.9040708@citrix.com> <1441961548.3549.13.camel@citrix.com> <55F29E51.5060506@citrix.com> <1441964293.3549.18.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1441964293.3549.18.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: Julien Grall , Riku Voipio , Wei Liu , xen-devel List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: xl: libxl_domain_info: getting domain info list: Bad address"): > It worked for me manually, I wonder if the issue is lack of escaping for > the ()'s? Yes. Ian. >From 29e08dfa3a5c5a5aeb51fd01c67345e20cbb33c5 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 11 Sep 2015 16:27:08 +0100 Subject: [OSSTEST PATCH] cs-bisection-step: Cope with graph-out (testids) containing ( ) etc. cr-try-bisect launders / in the testid but relies on other characters being handled appropriately by cs-bisection-step. So for example it can pass graph-out=/home/logs/results/bisect/linux-linus/test-armhf-armhf-xl-arndale.leak-check--basis(8) But cs-bisection step foolishly assumed that the --graph-out argument did not contain any shell metacharacters. Fix this. Specifically: * Change invocations of perl's open to use the 3-argument form * Change invocations of system to pass individual arguments rather than constructing a shell script fragment and relying on the shell to split it up. * In particular, in the png processing pipeline, use the "sh -ec