merged branch beberlei/ProcessPipesWindows (PR #2483)
Commits -------fee217f
Update tests/Symfony/Tests/Component/Process/ProcessTest.phpd58e682
GH-2287 - Skip Process:processTest on Windows due to PHP bug #60120 Discussion ---------- [Process] Test with pipes hang on windows Rebased onto 2.0
This commit is contained in:
commit
6c538dfb22
@ -55,6 +55,10 @@ class ProcessTest extends \PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testProcessPipes($expected, $code)
|
||||
{
|
||||
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)));
|
||||
$p->setStdin($expected);
|
||||
$p->run();
|
||||
|
Reference in New Issue
Block a user