Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added shell escaping to test runner

  • Loading branch information...
commit 91ffd3eb0de63f3350ea0877052eaa7de09ca18e 1 parent 04f84c7
@kasperpedersen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/run-tests.php
View
2  tests/run-tests.php
@@ -86,7 +86,7 @@
foreach ($components as $component) {
$component = 'ZendTest/' . basename(str_replace('_', '/', $component));
echo "$component:\n";
- system("$phpunit_bin $phpunit_opts $phpunit_coverage " . __DIR__ . '/' . $component, $c_result);
+ system("$phpunit_bin $phpunit_opts $phpunit_coverage " . escapeshellarg(__DIR__ . '/' . $component), $c_result);
echo "\n\n";
if ($c_result) {
$result = $c_result;

1 comment on commit 91ffd3e

@kasperpedersen

Had trouble running the tests as a parent directory had a space in it's name :)

Please sign in to comment.
Something went wrong with that request. Please try again.