Skip to content

Commit a35d6b8

Browse files
committed
Run open_basedir tests in separate processes
1 parent ff1cabb commit a35d6b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Tests/ExecutableFinderTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ public function testFindWithExtraDirs()
9696
$this->assertSamePath(\PHP_BINARY, $result);
9797
}
9898

99+
/**
100+
* @runInSeparateProcess
101+
*/
99102
public function testFindWithOpenBaseDir()
100103
{
101104
if ('\\' === \DIRECTORY_SEPARATOR) {
@@ -114,6 +117,9 @@ public function testFindWithOpenBaseDir()
114117
$this->assertSamePath(\PHP_BINARY, $result);
115118
}
116119

120+
/**
121+
* @runInSeparateProcess
122+
*/
117123
public function testFindProcessInOpenBasedir()
118124
{
119125
if (ini_get('open_basedir')) {

0 commit comments

Comments
 (0)