Skip to content

Commit 6c538df

Browse files
committed
merged branch beberlei/ProcessPipesWindows (PR symfony#2483)
Commits ------- fee217f Update tests/Symfony/Tests/Component/Process/ProcessTest.php d58e682 symfonyGH-2287 - Skip Process:processTest on Windows due to PHP bug symfony#60120 Discussion ---------- [Process] Test with pipes hang on windows Rebased onto 2.0
2 parents 5404a46 + fee217f commit 6c538df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ public function testProcessResponses($expected, $getter, $code)
5555
*/
5656
public function testProcessPipes($expected, $code)
5757
{
58+
if (strpos(PHP_OS, "WIN") === 0 && version_compare(phpversion(), "5.3.9", "<")) {
59+
$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');
60+
}
61+
5862
$p = new Process(sprintf('php -r %s', escapeshellarg($code)));
5963
$p->setStdin($expected);
6064
$p->run();

0 commit comments

Comments
 (0)