Escape the xml file path arg.
This commit is contained in:
parent
d5394265ba
commit
8cd19c0f53
@ -2,7 +2,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$xmlfile = dirname(__FILE__) .'/test/report.xml';
|
$xmlfile = dirname(__FILE__) .'/test/report.xml';
|
||||||
passthru('phpunit --coverage-clover='.$xmlfile);
|
passthru('phpunit --coverage-clover='.escapeshellarg($xmlfile));
|
||||||
$xml = simplexml_load_string(file_get_contents($xmlfile));
|
$xml = simplexml_load_string(file_get_contents($xmlfile));
|
||||||
unlink($xmlfile);
|
unlink($xmlfile);
|
||||||
printf(
|
printf(
|
||||||
|
Loading…
Reference in New Issue
Block a user