Skip to content

Commit 38a44b2

Browse files
Merge branch '4.4' into 5.4
* 4.4: [Finder] fix tests on Windows
2 parents ca5bdf2 + 54e9d76 commit 38a44b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/PhpExecutableFinderTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public function testNotExitsBinaryFile()
6565

6666
public function testFindWithExecutableDirectory()
6767
{
68+
if ('\\' === \DIRECTORY_SEPARATOR) {
69+
$this->markTestSkipped('Directories are not executable on Windows');
70+
}
71+
6872
$originalPhpBinary = getenv('PHP_BINARY');
6973

7074
try {

0 commit comments

Comments
 (0)