[Process] Added a test skip check for Windows

The test FindProcessInOpenBasedir fails similarly to
FindWithOpenBaseDir on Windows.
This commit is contained in:
Mikael Pajunen 2015-01-01 16:36:27 +02:00
parent 5a14941a6f
commit 99ff8a6de4

View File

@ -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.'/');