[Process] Added a test skip check for Windows
The test FindProcessInOpenBasedir fails similarly to FindWithOpenBaseDir on Windows.
This commit is contained in:
parent
5a14941a6f
commit
99ff8a6de4
@ -120,6 +120,10 @@ class ExecutableFinderTest extends \PHPUnit_Framework_TestCase
|
||||
$this->markTestSkipped('Requires the PHP_BINARY constant');
|
||||
}
|
||||
|
||||
if ('\\' === DIRECTORY_SEPARATOR) {
|
||||
$this->markTestSkipped('Cannot run test on windows');
|
||||
}
|
||||
|
||||
$this->setPath('');
|
||||
ini_set('open_basedir', PHP_BINARY.PATH_SEPARATOR.'/');
|
||||
|
||||
|
Reference in New Issue
Block a user