From: Ian Jackson Date: Fri, 11 Sep 2015 15:27:08 +0000 (+0100) Subject: cs-bisection-step: Cope with graph-out (testids) containing ( ) etc. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a5743d7677cd857d8fc76ca6d958c16b0cd411d8;p=osstest.git 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