Fix dynamically generated phpunit.xml file not being deleted automatically in the test runner.

This commit is contained in:
Franz Liedke 2012-09-07 14:32:37 +02:00
parent 7e11bb7431
commit 9348046d0e
1 changed files with 2 additions and 2 deletions

View File

@ -86,9 +86,9 @@ protected function test()
// fix the spaced directories problem when using the command line // fix the spaced directories problem when using the command line
// strings with spaces inside should be wrapped in quotes. // strings with spaces inside should be wrapped in quotes.
$path = escapeshellarg($path); $esc_path = escapeshellarg($path);
passthru('phpunit --configuration '.$path, $status); passthru('phpunit --configuration '.$esc_path, $status);
@unlink($path); @unlink($path);