GH-2287 - Skip Process:processTest on Windows due to PHP bug #60120

This commit is contained in:
Benjamin Eberlei 2011-10-26 07:50:46 +02:00
parent 8dcde3c076
commit d58e68269a

View File

@ -55,6 +55,10 @@ 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');
}
$p = new Process(sprintf('php -r %s', escapeshellarg($code)));
$p->setStdin($expected);
$p->run();