From 1aa983734c600566ac0350beecd52e2c6e0f82fd Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 22 Dec 2017 23:00:09 +0100 Subject: [PATCH] [Process] Skip false-positive test on Windows/appveyor --- src/Symfony/Component/Process/Tests/ProcessTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Symfony/Component/Process/Tests/ProcessTest.php b/src/Symfony/Component/Process/Tests/ProcessTest.php index a38287bcd9..914959b58c 100644 --- a/src/Symfony/Component/Process/Tests/ProcessTest.php +++ b/src/Symfony/Component/Process/Tests/ProcessTest.php @@ -54,6 +54,10 @@ class ProcessTest extends TestCase */ public function testInvalidCwd() { + if ('\\' === DIRECTORY_SEPARATOR) { + $this->markTestSkipped('False-positive on Windows/appveyor.'); + } + // Check that it works fine if the CWD exists $cmd = new Process('echo test', __DIR__); $cmd->run();