Skip to content

Commit 99ff8a6

Browse files
committed
[Process] Added a test skip check for Windows
The test FindProcessInOpenBasedir fails similarly to FindWithOpenBaseDir on Windows.
1 parent 5a14941 commit 99ff8a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Process/Tests/ExecutableFinderTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ public function testFindProcessInOpenBasedir()
120120
$this->markTestSkipped('Requires the PHP_BINARY constant');
121121
}
122122

123+
if ('\\' === DIRECTORY_SEPARATOR) {
124+
$this->markTestSkipped('Cannot run test on windows');
125+
}
126+
123127
$this->setPath('');
124128
ini_set('open_basedir', PHP_BINARY.PATH_SEPARATOR.'/');
125129

0 commit comments

Comments
 (0)