Update tests/Symfony/Tests/Component/Process/ProcessTest.php

This commit is contained in:
Benjamin Eberlei 2011-10-26 11:17:31 +03:00
parent d58e68269a
commit fee217f56f

View File

@ -55,8 +55,8 @@ class ProcessTest extends \PHPUnit_Framework_TestCase
*/
public function testProcessPipes($expected, $code)
{
if (strpos(PHP_OS, "WIN") === 0 ) {
$this->markTestSkipped('Test hangs on Windows & PHP due to https://bugs.php.net/bug.php?id=60120');
if (strpos(PHP_OS, "WIN") === 0 && version_compare(phpversion(), "5.3.9", "<")) {
$this->markTestSkipped('Test hangs on Windows & PHP due to https://bugs.php.net/bug.php?id=60120 fixed in http://svn.php.net/viewvc?view=revision&revision=318366');
}
$p = new Process(sprintf('php -r %s', escapeshellarg($code)));