GH-2287 - Skip Process:processTest on Windows due to PHP bug #60120
This commit is contained in:
parent
8dcde3c076
commit
d58e68269a
@ -55,6 +55,10 @@ class ProcessTest extends \PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
public function testProcessPipes($expected, $code)
|
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 = new Process(sprintf('php -r %s', escapeshellarg($code)));
|
||||||
$p->setStdin($expected);
|
$p->setStdin($expected);
|
||||||
$p->run();
|
$p->run();
|
||||||
|
Reference in New Issue
Block a user