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

View File

@@ -86,9 +86,9 @@ class Runner extends Task {
// fix the spaced directories problem when using the command line
// 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);